GetBufferSizeFC
-
int32_t riscv_fully_connected_s16_get_buffer_size(const nmsis_nn_dims *filter_dims)
-
int32_t riscv_fully_connected_s16_get_buffer_size_dsp(const nmsis_nn_dims *filter_dims)
-
int32_t riscv_fully_connected_s8_get_buffer_size_dsp(const nmsis_nn_dims *filter_dims)
-
int32_t riscv_fully_connected_s8_get_buffer_size(const nmsis_nn_dims *filter_dims)
- group GetBufferSizeFC
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().
- Parameters
filter_dims – [in] dimension of filter
- Returns
The function returns required buffer size in bytes
-
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().
-
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().
-
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
filter_dims – [in] dimension of filter
- Returns
The function returns required buffer size in bytes
-
int32_t riscv_fully_connected_s16_get_buffer_size(const nmsis_nn_dims *filter_dims)