CMSIS-NN  
CMSIS NN Software Library
BasicMath

Functions

arm_cmsis_nn_status arm_elementwise_mul_s16_s8 (const int16_t *input_1_vect, const int16_t *input_2_vect, int8_t *output, const int32_t out_offset, const int32_t out_mult, const int32_t out_shift, const int32_t block_size)
 s16 elementwise multiplication with s8 output More...
 

Description

Function Documentation

◆ arm_elementwise_mul_s16_s8()

arm_cmsis_nn_status arm_elementwise_mul_s16_s8 ( const int16_t *  input_1_vect,
const int16_t *  input_2_vect,
int8_t *  output,
const int32_t  out_offset,
const int32_t  out_mult,
const int32_t  out_shift,
const int32_t  block_size 
)
Parameters
[in]input_1_vectpointer to input vector 1
[in]input_2_vectpointer to input vector 2
[in,out]outputpointer to output vector
[in]out_offsetoutput offset
[in]out_multoutput multiplier
[in]out_shiftoutput shift
[in]block_sizenumber of samples
Returns
The function returns ARM_CMSIS_NN_SUCCESS

Supported framework: TensorFlow Lite micro