NMSIS-NN  Version 1.3.1
NMSIS NN Software Library

Functions

int32_t riscv_fully_connected_s16_get_buffer_size (const nmsis_nn_dims *filter_dims)
 Get size of additional buffer required by riscv_fully_connected_s16(). More...
 
int32_t riscv_fully_connected_s16_get_buffer_size_dsp (const nmsis_nn_dims *filter_dims)
 Get size of additional buffer required by riscv_fully_connected_s16() for processors with DSP extension. Refer to riscv_fully_connected_s16_get_buffer_size() for function argument details. More...
 
int32_t riscv_fully_connected_s8_get_buffer_size_dsp (const nmsis_nn_dims *filter_dims)
 Get size of additional buffer required by riscv_fully_connected_s8() for processors with DSP extension. Refer to riscv_fully_connected_s8_get_buffer_size() for function argument details. More...
 
int32_t riscv_fully_connected_s8_get_buffer_size (const nmsis_nn_dims *filter_dims)
 Get size of additional buffer required by riscv_fully_connected_s8(). See also riscv_vector_sum_s8, which is required if buffer size is > 0. More...
 

Detailed Description

Function Documentation

◆ riscv_fully_connected_s16_get_buffer_size()

int32_t riscv_fully_connected_s16_get_buffer_size ( const nmsis_nn_dims filter_dims)

Get size of additional buffer required by riscv_fully_connected_s16().

Parameters
[in]filter_dimsdimension of filter
Returns
The function returns required buffer size in bytes

◆ riscv_fully_connected_s16_get_buffer_size_dsp()

int32_t riscv_fully_connected_s16_get_buffer_size_dsp ( const nmsis_nn_dims filter_dims)

Get size of additional buffer required by riscv_fully_connected_s16() for processors with DSP extension. Refer to riscv_fully_connected_s16_get_buffer_size() for function argument details.

Note
Intended for compilation on Host. If compiling for an Arm target, use riscv_fully_connected_s16_get_buffer_size().

◆ riscv_fully_connected_s8_get_buffer_size()

int32_t riscv_fully_connected_s8_get_buffer_size ( const nmsis_nn_dims filter_dims)

Get size of additional buffer required by riscv_fully_connected_s8(). See also riscv_vector_sum_s8, which is required if buffer size is > 0.

Parameters
[in]filter_dimsdimension of filter
Returns
The function returns required buffer size in bytes

◆ riscv_fully_connected_s8_get_buffer_size_dsp()

int32_t riscv_fully_connected_s8_get_buffer_size_dsp ( const nmsis_nn_dims filter_dims)

Get size of additional buffer required by riscv_fully_connected_s8() for processors with DSP extension. Refer to riscv_fully_connected_s8_get_buffer_size() for function argument details.

Note
Intended for compilation on Host. If compiling for an Riscv target, use riscv_fully_connected_s8_get_buffer_size().