CMSIS-NN  
CMSIS NN Software Library
 
Loading...
Searching...
No Matches
Transpose Functions

Functions

arm_cmsis_nn_status arm_transpose_s8 (const int8_t *input, int8_t *const output, const cmsis_nn_dims *const input_dims, const cmsis_nn_dims *const output_dims, const cmsis_nn_transpose_params *const transpose_params)
 Basic transpose function.
 

Description

Function Documentation

◆ arm_transpose_s8()

arm_cmsis_nn_status arm_transpose_s8 ( const int8_t *  input_data,
int8_t *const  output_data,
const cmsis_nn_dims *const  input_dims,
const cmsis_nn_dims *const  output_dims,
const cmsis_nn_transpose_params *const  transpose_params 
)

Basic transpose function.

Parameters
[in]input_dataInput (activation) data pointer. Data type: int8
[out]output_dataOutput data pointer. Data type: int8
[in]input_dimsInput (activation) tensor dimensions. Format: [N, H, W, C_IN]
[in]output_dimsOutput tensor dimensions. Format may be arbitrary relative to input format. The output dimension will depend on the permutation dimensions. In other words the out dimensions are the result of applying the permutation to the input dimensions.
[in]transpose_paramsTranspose parameters. Contains permutation dimensions.
Returns
The function returns either ARM_CMSIS_NN_ARG_ERROR if argument constraints fail. or, ARM_CMSIS_NN_SUCCESS on successful completion.