CMSIS-NN  
CMSIS NN Software Library
 
Loading...
Searching...
No Matches
GetBufferSizeNNConv

Functions

int32_t arm_convolve_s16_get_buffer_size (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims)
 Get the required buffer size for s16 convolution function.
 
int32_t arm_convolve_wrapper_s16_get_buffer_size (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required buffer size for arm_convolve_wrapper_s16.
 
int32_t arm_convolve_wrapper_s16_get_buffer_size_dsp (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required buffer size for arm_convolve_wrapper_s16 for for processors with DSP extension. Refer to arm_convolve_wrapper_s16_get_buffer_size() for function argument details.
 
int32_t arm_convolve_wrapper_s16_get_buffer_size_mve (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required buffer size for arm_convolve_wrapper_s16 for Arm(R) Helium Architecture case. Refer to arm_convolve_wrapper_s16_get_buffer_size() for function argument details.
 
int32_t arm_convolve_s4_get_buffer_size (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims)
 Get the required buffer size for s4 convolution function.
 
int32_t arm_convolve_1_x_n_s4_get_buffer_size (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required additional buffer size for 1xn convolution.
 
int32_t arm_convolve_1x1_s4_fast_get_buffer_size (const cmsis_nn_dims *input_dims)
 Get the required buffer size for arm_convolve_1x1_s4_fast.
 
int32_t arm_convolve_wrapper_s4_get_buffer_size (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required buffer size for arm_convolve_wrapper_s4.
 
int32_t arm_convolve_wrapper_s4_get_buffer_size_mve (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required buffer size for arm_convolve_wrapper_s4 for Arm(R) Helium Architecture case. Refer to arm_convolve_wrapper_s4_get_buffer_size() for function argument details.
 
int32_t arm_convolve_wrapper_s4_get_buffer_size_dsp (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required buffer size for arm_convolve_wrapper_s4 for processors with DSP extension. Refer to arm_convolve_wrapper_s4_get_buffer_size() for function argument details.
 
int32_t arm_convolve_s8_get_buffer_size (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims)
 Get the required buffer size for s8 convolution function.
 
int32_t arm_convolve_1_x_n_s8_get_buffer_size (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required additional buffer size for 1xn convolution.
 
int32_t arm_convolve_1x1_s8_fast_get_buffer_size (const cmsis_nn_dims *input_dims)
 Get the required buffer size for arm_convolve_1x1_s8_fast.
 
int32_t arm_convolve_wrapper_s8_get_buffer_size (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required buffer size for arm_convolve_wrapper_s8.
 
int32_t arm_convolve_wrapper_s8_get_buffer_size_mve (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required buffer size for arm_convolve_wrapper_s8 for Arm(R) Helium Architecture case. Refer to arm_convolve_wrapper_s8_get_buffer_size() for function argument details.
 
int32_t arm_convolve_wrapper_s8_get_buffer_size_dsp (const cmsis_nn_conv_params *conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get the required buffer size for arm_convolve_wrapper_s8 for processors with DSP extension. Refer to arm_convolve_wrapper_s8_get_buffer_size() for function argument details.
 
int32_t arm_depthwise_conv_fast_s16_get_buffer_size (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims)
 Get the required buffer size for optimized s16 depthwise convolution function with constraint that in_channel equals out_channel.
 
int32_t arm_depthwise_conv_wrapper_s16_get_buffer_size (const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_depthwise_conv_wrapper_s16()
 
int32_t arm_depthwise_conv_wrapper_s16_get_buffer_size_mve (const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_depthwise_conv_wrapper_s16() for Arm(R) Helium Architecture case. Refer to arm_depthwise_conv_wrapper_s16_get_buffer_size() for function argument details.
 
int32_t arm_depthwise_conv_wrapper_s16_get_buffer_size_dsp (const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_depthwise_conv_wrapper_s16() for processors with DSP extension. Refer to arm_depthwise_conv_wrapper_s16_get_buffer_size() for function argument details.
 
int32_t arm_depthwise_conv_s4_opt_get_buffer_size (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims)
 Get the required buffer size for optimized s4 depthwise convolution function with constraint that in_channel equals out_channel.
 
int32_t arm_depthwise_conv_wrapper_s4_get_buffer_size (const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_depthwise_conv_wrapper_s4()
 
int32_t arm_depthwise_conv_wrapper_s4_get_buffer_size_dsp (const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_depthwise_conv_wrapper_s4() for processors with DSP extension. Refer to arm_depthwise_conv_wrapper_s4_get_buffer_size() for function argument details.
 
int32_t arm_depthwise_conv_wrapper_s4_get_buffer_size_mve (const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_depthwise_conv_wrapper_s4() for Arm(R) Helium Architecture case. Refer to arm_depthwise_conv_wrapper_s4_get_buffer_size() for function argument details.
 
int32_t arm_depthwise_conv_s8_opt_get_buffer_size_mve (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims)
 Get the required buffer size for optimized s8 depthwise convolution function with constraint that in_channel equals out_channel. This is for processors with MVE extension. Refer to arm_depthwise_conv_s8_opt_get_buffer_size() for function argument details.
 
int32_t arm_depthwise_conv_s8_opt_get_buffer_size_dsp (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims)
 Get the required buffer size for optimized s8 depthwise convolution function with constraint that in_channel equals out_channel. This is for processors with DSP extension. Refer to arm_depthwise_conv_s8_opt_get_buffer_size() for function argument details.
 
int32_t arm_depthwise_conv_s8_opt_get_buffer_size (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims)
 Get the required buffer size for optimized s8 depthwise convolution function with constraint that in_channel equals out_channel.
 
int32_t arm_depthwise_conv_wrapper_s8_get_buffer_size (const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_depthwise_conv_wrapper_s8()
 
int32_t arm_depthwise_conv_wrapper_s8_get_buffer_size_dsp (const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_depthwise_conv_wrapper_s8() for processors with DSP extension. Refer to arm_depthwise_conv_wrapper_s8_get_buffer_size() for function argument details.
 
int32_t arm_depthwise_conv_wrapper_s8_get_buffer_size_mve (const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_depthwise_conv_wrapper_s8() for Arm(R) Helium Architecture case. Refer to arm_depthwise_conv_wrapper_s8_get_buffer_size() for function argument details.
 
int32_t arm_transpose_conv_s8_get_buffer_size (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *out_dims)
 Get the required buffer size for s8 transpose conv function.
 
int32_t arm_transpose_conv_s8_get_buffer_size_dsp (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_transpose_conv_s8() for processors with DSP extension. Refer to arm_transpose_conv_s8_get_buffer_size() for function argument details.
 
int32_t arm_transpose_conv_s8_get_buffer_size_mve (const cmsis_nn_dims *input_dims, const cmsis_nn_dims *filter_dims, const cmsis_nn_dims *output_dims)
 Get size of additional buffer required by arm_transpose_conv_s8() for Arm(R) Helium Architecture case. Refer to arm_transpose_conv_s8_get_buffer_size() for function argument details.
 

Description

Function Documentation

◆ arm_convolve_1_x_n_s4_get_buffer_size()

int32_t arm_convolve_1_x_n_s4_get_buffer_size ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required additional buffer size for 1xn convolution.

Parameters
[in]conv_paramsConvolution parameters (e.g. strides, dilations, pads,...). Range of conv_params->input_offset : [-127, 128] Range of conv_params->output_offset : [-128, 127]
[in]input_dimsInput (activation) tensor dimensions. Format: [N, H, W, C_IN]
[in]filter_dimsFilter tensor dimensions. Format: [C_OUT, 1, WK, C_IN] where WK is the horizontal spatial filter dimension
[in]output_dimsOutput tensor dimensions. Format: [N, H, W, C_OUT]
Returns
The function returns required buffer size(bytes)

◆ arm_convolve_1_x_n_s8_get_buffer_size()

int32_t arm_convolve_1_x_n_s8_get_buffer_size ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required additional buffer size for 1xn convolution.

Parameters
[in]conv_paramsConvolution parameters (e.g. strides, dilations, pads,...). Range of conv_params->input_offset : [-127, 128] Range of conv_params->output_offset : [-128, 127]
[in]input_dimsInput (activation) tensor dimensions. Format: [N, H, W, C_IN]
[in]filter_dimsFilter tensor dimensions. Format: [C_OUT, 1, WK, C_IN] where WK is the horizontal spatial filter dimension
[in]output_dimsOutput tensor dimensions. Format: [N, H, W, C_OUT]
Returns
The function returns required buffer size(bytes)

◆ arm_convolve_1x1_s4_fast_get_buffer_size()

int32_t arm_convolve_1x1_s4_fast_get_buffer_size ( const cmsis_nn_dims input_dims)

Get the required buffer size for arm_convolve_1x1_s4_fast.

Parameters
[in]input_dimsInput (activation) dimensions
Returns
The function returns the required buffer size in bytes

◆ arm_convolve_1x1_s8_fast_get_buffer_size()

int32_t arm_convolve_1x1_s8_fast_get_buffer_size ( const cmsis_nn_dims input_dims)

Get the required buffer size for arm_convolve_1x1_s8_fast.

Parameters
[in]input_dimsInput (activation) dimensions
Returns
The function returns the required buffer size in bytes

◆ arm_convolve_s16_get_buffer_size()

int32_t arm_convolve_s16_get_buffer_size ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims 
)

Get the required buffer size for s16 convolution function.

Parameters
[in]input_dimsInput (activation) tensor dimensions. Format: [N, H, W, C_IN]
[in]filter_dimsFilter tensor dimensions. Format: [C_OUT, HK, WK, C_IN] where HK and WK are the spatial filter dimensions
Returns
The function returns required buffer size(bytes)

◆ arm_convolve_s4_get_buffer_size()

int32_t arm_convolve_s4_get_buffer_size ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims 
)

Get the required buffer size for s4 convolution function.

Parameters
[in]input_dimsInput (activation) tensor dimensions. Format: [N, H, W, C_IN]
[in]filter_dimsFilter tensor dimensions. Format: [C_OUT, HK, WK, C_IN] where HK and WK are the spatial filter dimensions
Returns
The function returns required buffer size(bytes)

◆ arm_convolve_s8_get_buffer_size()

int32_t arm_convolve_s8_get_buffer_size ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims 
)

Get the required buffer size for s8 convolution function.

Parameters
[in]input_dimsInput (activation) tensor dimensions. Format: [N, H, W, C_IN]
[in]filter_dimsFilter tensor dimensions. Format: [C_OUT, HK, WK, C_IN] where HK and WK are the spatial filter dimensions
Returns
The function returns required buffer size(bytes)

◆ arm_convolve_wrapper_s16_get_buffer_size()

int32_t arm_convolve_wrapper_s16_get_buffer_size ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required buffer size for arm_convolve_wrapper_s16.

Parameters
[in]conv_paramsConvolution parameters (e.g. strides, dilations, pads,...). conv_params->input_offset : Not used conv_params->output_offset : Not used
[in]input_dimsInput (activation) dimensions. Format: [N, H, W, C_IN]
[in]filter_dimsFilter dimensions. Format: [C_OUT, HK, WK, C_IN] where HK and WK are the spatial filter dimensions
[in]output_dimsOutput tensor dimensions. Format: [N, H, W, C_OUT]
Returns
The function returns required buffer size(bytes)

◆ arm_convolve_wrapper_s16_get_buffer_size_dsp()

int32_t arm_convolve_wrapper_s16_get_buffer_size_dsp ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required buffer size for arm_convolve_wrapper_s16 for for processors with DSP extension. Refer to arm_convolve_wrapper_s16_get_buffer_size() for function argument details.

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

◆ arm_convolve_wrapper_s16_get_buffer_size_mve()

int32_t arm_convolve_wrapper_s16_get_buffer_size_mve ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required buffer size for arm_convolve_wrapper_s16 for Arm(R) Helium Architecture case. Refer to arm_convolve_wrapper_s16_get_buffer_size() for function argument details.

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

◆ arm_convolve_wrapper_s4_get_buffer_size()

int32_t arm_convolve_wrapper_s4_get_buffer_size ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required buffer size for arm_convolve_wrapper_s4.

Parameters
[in]conv_paramsConvolution parameters (e.g. strides, dilations, pads,...). Range of conv_params->input_offset : [-127, 128] Range of conv_params->output_offset : [-128, 127]
[in]input_dimsInput (activation) dimensions. Format: [N, H, W, C_IN]
[in]filter_dimsFilter dimensions. Format: [C_OUT, HK, WK, C_IN] where HK and WK are the spatial filter dimensions
[in]output_dimsOutput tensor dimensions. Format: [N, H, W, C_OUT]
Returns
The function returns required buffer size(bytes)

◆ arm_convolve_wrapper_s4_get_buffer_size_dsp()

int32_t arm_convolve_wrapper_s4_get_buffer_size_dsp ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required buffer size for arm_convolve_wrapper_s4 for processors with DSP extension. Refer to arm_convolve_wrapper_s4_get_buffer_size() for function argument details.

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

◆ arm_convolve_wrapper_s4_get_buffer_size_mve()

int32_t arm_convolve_wrapper_s4_get_buffer_size_mve ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required buffer size for arm_convolve_wrapper_s4 for Arm(R) Helium Architecture case. Refer to arm_convolve_wrapper_s4_get_buffer_size() for function argument details.

Note
Intended for compilation on Host. If compiling for an Arm target, use arm_convolve_wrapper_s4_get_buffer_size(). Currently this operator does not have an mve implementation, so dsp will be used.

◆ arm_convolve_wrapper_s8_get_buffer_size()

int32_t arm_convolve_wrapper_s8_get_buffer_size ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required buffer size for arm_convolve_wrapper_s8.

Parameters
[in]conv_paramsConvolution parameters (e.g. strides, dilations, pads,...). Range of conv_params->input_offset : [-127, 128] Range of conv_params->output_offset : [-128, 127]
[in]input_dimsInput (activation) dimensions. Format: [N, H, W, C_IN]
[in]filter_dimsFilter dimensions. Format: [C_OUT, HK, WK, C_IN] where HK and WK are the spatial filter dimensions
[in]output_dimsOutput tensor dimensions. Format: [N, H, W, C_OUT]
Returns
The function returns required buffer size(bytes)

◆ arm_convolve_wrapper_s8_get_buffer_size_dsp()

int32_t arm_convolve_wrapper_s8_get_buffer_size_dsp ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required buffer size for arm_convolve_wrapper_s8 for processors with DSP extension. Refer to arm_convolve_wrapper_s8_get_buffer_size() for function argument details.

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

◆ arm_convolve_wrapper_s8_get_buffer_size_mve()

int32_t arm_convolve_wrapper_s8_get_buffer_size_mve ( const cmsis_nn_conv_params conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get the required buffer size for arm_convolve_wrapper_s8 for Arm(R) Helium Architecture case. Refer to arm_convolve_wrapper_s8_get_buffer_size() for function argument details.

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

◆ arm_depthwise_conv_fast_s16_get_buffer_size()

int32_t arm_depthwise_conv_fast_s16_get_buffer_size ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims 
)

Get the required buffer size for optimized s16 depthwise convolution function with constraint that in_channel equals out_channel.

Parameters
[in]input_dimsInput (activation) tensor dimensions. Format: [1, H, W, C_IN] Batch argument N is not used.
[in]filter_dimsFilter tensor dimensions. Format: [1, H, W, C_OUT]
Returns
The function returns required buffer size in bytes

◆ arm_depthwise_conv_s4_opt_get_buffer_size()

int32_t arm_depthwise_conv_s4_opt_get_buffer_size ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims 
)

Get the required buffer size for optimized s4 depthwise convolution function with constraint that in_channel equals out_channel.

Parameters
[in]input_dimsInput (activation) tensor dimensions. Format: [1, H, W, C_IN] Batch argument N is not used.
[in]filter_dimsFilter tensor dimensions. Format: [1, H, W, C_OUT]
Returns
The function returns required buffer size in bytes

◆ arm_depthwise_conv_s8_opt_get_buffer_size()

int32_t arm_depthwise_conv_s8_opt_get_buffer_size ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims 
)

Get the required buffer size for optimized s8 depthwise convolution function with constraint that in_channel equals out_channel.

Parameters
[in]input_dimsInput (activation) tensor dimensions. Format: [1, H, W, C_IN] Batch argument N is not used.
[in]filter_dimsFilter tensor dimensions. Format: [1, H, W, C_OUT]
Returns
The function returns required buffer size in bytes

◆ arm_depthwise_conv_s8_opt_get_buffer_size_dsp()

int32_t arm_depthwise_conv_s8_opt_get_buffer_size_dsp ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims 
)

Get the required buffer size for optimized s8 depthwise convolution function with constraint that in_channel equals out_channel. This is for processors with DSP extension. Refer to arm_depthwise_conv_s8_opt_get_buffer_size() for function argument details.

Note
Intended for compilation on Host. If compiling for an Arm target, use arm_depthwise_conv_s8_opt_get_buffer_size(). Note also this is a support function, so not recommended to call directly even on Host.

◆ arm_depthwise_conv_s8_opt_get_buffer_size_mve()

int32_t arm_depthwise_conv_s8_opt_get_buffer_size_mve ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims 
)

Get the required buffer size for optimized s8 depthwise convolution function with constraint that in_channel equals out_channel. This is for processors with MVE extension. Refer to arm_depthwise_conv_s8_opt_get_buffer_size() for function argument details.

Note
Intended for compilation on Host. If compiling for an Arm target, use arm_depthwise_conv_s8_opt_get_buffer_size(). Note also this is a support function, so not recommended to call directly even on Host.

◆ arm_depthwise_conv_wrapper_s16_get_buffer_size()

int32_t arm_depthwise_conv_wrapper_s16_get_buffer_size ( const cmsis_nn_dw_conv_params dw_conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get size of additional buffer required by arm_depthwise_conv_wrapper_s16()

Parameters
[in]dw_conv_paramsDepthwise convolution parameters (e.g. strides, dilations, pads,...) Range of dw_conv_params->input_offset : Not used Range of dw_conv_params->input_offset : Not used
[in]input_dimsInput (activation) tensor dimensions. Format: [H, W, C_IN] Batch argument N is not used and assumed to be 1.
[in]filter_dimsFilter tensor dimensions. Format: [1, H, W, C_OUT]
[in]output_dimsOutput tensor dimensions. Format: [1, H, W, C_OUT]
Returns
Size of additional memory required for optimizations in bytes.

◆ arm_depthwise_conv_wrapper_s16_get_buffer_size_dsp()

int32_t arm_depthwise_conv_wrapper_s16_get_buffer_size_dsp ( const cmsis_nn_dw_conv_params dw_conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

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

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

◆ arm_depthwise_conv_wrapper_s16_get_buffer_size_mve()

int32_t arm_depthwise_conv_wrapper_s16_get_buffer_size_mve ( const cmsis_nn_dw_conv_params dw_conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get size of additional buffer required by arm_depthwise_conv_wrapper_s16() for Arm(R) Helium Architecture case. Refer to arm_depthwise_conv_wrapper_s16_get_buffer_size() for function argument details.

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

◆ arm_depthwise_conv_wrapper_s4_get_buffer_size()

int32_t arm_depthwise_conv_wrapper_s4_get_buffer_size ( const cmsis_nn_dw_conv_params dw_conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get size of additional buffer required by arm_depthwise_conv_wrapper_s4()

Parameters
[in]dw_conv_paramsDepthwise convolution parameters (e.g. strides, dilations, pads,...) Range of dw_conv_params->input_offset : [-127, 128] Range of dw_conv_params->input_offset : [-128, 127]
[in]input_dimsInput (activation) tensor dimensions. Format: [H, W, C_IN] Batch argument N is not used and assumed to be 1.
[in]filter_dimsFilter tensor dimensions. Format: [1, H, W, C_OUT]
[in]output_dimsOutput tensor dimensions. Format: [1, H, W, C_OUT]
Returns
Size of additional memory required for optimizations in bytes.

◆ arm_depthwise_conv_wrapper_s4_get_buffer_size_dsp()

int32_t arm_depthwise_conv_wrapper_s4_get_buffer_size_dsp ( const cmsis_nn_dw_conv_params dw_conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

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

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

◆ arm_depthwise_conv_wrapper_s4_get_buffer_size_mve()

int32_t arm_depthwise_conv_wrapper_s4_get_buffer_size_mve ( const cmsis_nn_dw_conv_params dw_conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get size of additional buffer required by arm_depthwise_conv_wrapper_s4() for Arm(R) Helium Architecture case. Refer to arm_depthwise_conv_wrapper_s4_get_buffer_size() for function argument details.

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

◆ arm_depthwise_conv_wrapper_s8_get_buffer_size()

int32_t arm_depthwise_conv_wrapper_s8_get_buffer_size ( const cmsis_nn_dw_conv_params dw_conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get size of additional buffer required by arm_depthwise_conv_wrapper_s8()

Parameters
[in]dw_conv_paramsDepthwise convolution parameters (e.g. strides, dilations, pads,...) Range of dw_conv_params->input_offset : [-127, 128] Range of dw_conv_params->input_offset : [-128, 127]
[in]input_dimsInput (activation) tensor dimensions. Format: [H, W, C_IN] Batch argument N is not used and assumed to be 1.
[in]filter_dimsFilter tensor dimensions. Format: [1, H, W, C_OUT]
[in]output_dimsOutput tensor dimensions. Format: [1, H, W, C_OUT]
Returns
Size of additional memory required for optimizations in bytes.

◆ arm_depthwise_conv_wrapper_s8_get_buffer_size_dsp()

int32_t arm_depthwise_conv_wrapper_s8_get_buffer_size_dsp ( const cmsis_nn_dw_conv_params dw_conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

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

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

◆ arm_depthwise_conv_wrapper_s8_get_buffer_size_mve()

int32_t arm_depthwise_conv_wrapper_s8_get_buffer_size_mve ( const cmsis_nn_dw_conv_params dw_conv_params,
const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims output_dims 
)

Get size of additional buffer required by arm_depthwise_conv_wrapper_s8() for Arm(R) Helium Architecture case. Refer to arm_depthwise_conv_wrapper_s8_get_buffer_size() for function argument details.

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

◆ arm_transpose_conv_s8_get_buffer_size()

int32_t arm_transpose_conv_s8_get_buffer_size ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims out_dims 
)

Get the required buffer size for s8 transpose conv function.

Parameters
[in]input_dimsInput (activation) tensor dimensions. Format: [N, H, W, C_IN]
[in]filter_dimsFilter tensor dimensions. Format: [C_OUT, HK, WK, C_IN] where HK and WK are the spatial filter dimensions
[in]out_dimsOutput tensor dimensions. Format: [N, H, W, C_OUT]
Returns
The function returns required buffer size(bytes)

◆ arm_transpose_conv_s8_get_buffer_size_dsp()

int32_t arm_transpose_conv_s8_get_buffer_size_dsp ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims out_dims 
)

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

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

◆ arm_transpose_conv_s8_get_buffer_size_mve()

int32_t arm_transpose_conv_s8_get_buffer_size_mve ( const cmsis_nn_dims input_dims,
const cmsis_nn_dims filter_dims,
const cmsis_nn_dims out_dims 
)

Get size of additional buffer required by arm_transpose_conv_s8() for Arm(R) Helium Architecture case. Refer to arm_transpose_conv_s8_get_buffer_size() for function argument details.

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