CMSIS-NN  
CMSIS NN Software Library
 
Loading...
Searching...
No Matches
Pad Layer Functions:

Functions

arm_cmsis_nn_status arm_pad_s8 (const int8_t *input, int8_t *output, const int8_t pad_value, const cmsis_nn_dims *input_size, const cmsis_nn_dims *pre_pad, const cmsis_nn_dims *post_pad)
 Expands the size of the input by adding constant values before and after the data, in all dimensions.
 

Description

Function Documentation

◆ arm_pad_s8()

arm_cmsis_nn_status arm_pad_s8 ( const int8_t *  input,
int8_t *  output,
const int8_t  pad_value,
const cmsis_nn_dims input_size,
const cmsis_nn_dims pre_pad,
const cmsis_nn_dims post_pad 
)

Expands the size of the input by adding constant values before and after the data, in all dimensions.

Parameters
[in]inputPointer to input data
[out]outputPointer to output data
[in]pad_valueValue to pad with
[in]input_sizeInput tensor dimensions
[in]pre_padPadding to apply before data in each dimension
[in]post_padPadding to apply after data in each dimension
Returns
The function returns ARM_CMSIS_NN_SUCCESS