Skip to content

Add HiFi-optimized Xtensa Logistic and Tanh kernels - #3728

Open
unmeshna017 wants to merge 2 commits into
tensorflow:mainfrom
unmeshna017:xtensa-logistic-tanh-hifi
Open

unmeshna017 wants to merge 2 commits into
tensorflow:mainfrom
unmeshna017:xtensa-logistic-tanh-hifi

Conversation

@unmeshna017

Copy link
Copy Markdown
Contributor

Optimize the Xtensa logistic and tanh kernels using the HiFi NNLib LUT ops (int8 + sym16s), adding logistic_common.cc (LUT init) and xtensa_logistic.h. Registers logistic_common.cc in xtensa_makefile.inc.

Depends on the 09_03_2026 NNLib release (PR#3703)

@cad-audio @joshih-cad

Optimize the Xtensa logistic and tanh kernels using the HiFi NNLib LUT ops (int8 + sym16s), adding logistic_common.cc (LUT init) and xtensa_logistic.h. Registers logistic_common.cc in xtensa_makefile.inc. Depends on the 09_03_2026 NNLib release (PR#3703) for the LUT APIs (e.g. xa_nn_init_lut_asym8s_sigmoid, xa_nn_init_lut_asym8s_tanh, xa_nn_vec_apply_lut_asym8s_asym8s).
@unmeshna017
unmeshna017 requested a review from a team as a code owner September 17, 2026 07:19
Add HIFI_IQ to the include guard so xa_nnlib_api.h and xa_nnlib_standards.h are pulled in for the hifi_iq build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant