Function arm_depthwise_conv_fast_s16¶
Defined in File arm_nnfunctions.h
Function Documentation¶
-
arm_cmsis_nn_status arm_depthwise_conv_fast_s16(const cmsis_nn_context *ctx, const cmsis_nn_dw_conv_params *dw_conv_params, const cmsis_nn_per_channel_quant_params *quant_params, const cmsis_nn_dims *input_dims, const int16_t *input_data, const cmsis_nn_dims *filter_dims, const int8_t *filter_data, const cmsis_nn_dims *bias_dims, const int64_t *bias_data, const cmsis_nn_dims *output_dims, int16_t *output_data)¶
Optimized s16 depthwise convolution function with constraint that in_channel equals out_channel. Refer arm_depthwise_conv_s16() for function argument details.
ARM_CMSIS_NN_SUCCESS- Successful operationSupported framework: TensorFlow Lite
The following constrains on the arguments apply
Number of input channel equals number of output channels or ch_mult equals 1
Reccomended when number of channels is 4 or greater.
- Returns:
The function returns one of the following
ARM_CMSIS_NN_ARG_ERROR- ctx-buff == NULL and arm_depthwise_conv_fast_s16_get_buffer_size() > 0 or input channel != output channel or ch_mult != 1