NMSIS-NN
Version 1.3.1
NMSIS NN Software Library
|
Functions | |
riscv_nmsis_nn_status | riscv_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, const int32_t batch_size, const int32_t batch_offset) |
s16 elementwise multiplication with s8 output More... | |
riscv_nmsis_nn_status riscv_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, | ||
const int32_t | batch_size, | ||
const int32_t | batch_offset | ||
) |
s16 elementwise multiplication with s8 output
[in] | input_1_vect | pointer to input vector 1 |
[in] | input_2_vect | pointer to input vector 2 |
[in,out] | output | pointer to output vector |
[in] | out_offset | output offset |
[in] | out_mult | output multiplier |
[in] | out_shift | output shift |
[in] | block_size | number of samples per batch |
[in] | batch_size | number of samples per batch |
[in] | batch_offset | Number of timesteps between consecutive batches in output, see riscv_nn_lstm_step_s8. Note that it is assumed that the input is stored with sequential batches. |
Supported framework: TensorFlow Lite micro