MMALIB User Guide
MMALIB_CNN_tensor_convert_ixX_oxX_InitArgs Struct Reference

Detailed Description

Structure containing the parameters initialization of tensor convert function.

Definition at line 64 of file MMALIB_CNN_tensor_convert_ixX_oxX.h.

Data Fields

int8_t funcStyle
 Variant of the function refer to MMALIB_FUNCTION_STYLE
More...
 
int32_t inPad
 input pad of each row of output feature map, unused for now More...
 
int32_t outPad
 output pad of each row of output feature map, specify pad only on one side More...
 
MMALIB_tensor_format tensorFormatIn
 input tensor format: CHW or HWC More...
 
MMALIB_tensor_format tensorFormatOut
 output tensor format: CHW or HWC More...
 

Field Documentation

◆ funcStyle

int8_t MMALIB_CNN_tensor_convert_ixX_oxX_InitArgs::funcStyle

Variant of the function refer to MMALIB_FUNCTION_STYLE

Definition at line 66 of file MMALIB_CNN_tensor_convert_ixX_oxX.h.

◆ inPad

int32_t MMALIB_CNN_tensor_convert_ixX_oxX_InitArgs::inPad

input pad of each row of output feature map, unused for now

Definition at line 68 of file MMALIB_CNN_tensor_convert_ixX_oxX.h.

◆ outPad

int32_t MMALIB_CNN_tensor_convert_ixX_oxX_InitArgs::outPad

output pad of each row of output feature map, specify pad only on one side

Definition at line 72 of file MMALIB_CNN_tensor_convert_ixX_oxX.h.

◆ tensorFormatIn

MMALIB_tensor_format MMALIB_CNN_tensor_convert_ixX_oxX_InitArgs::tensorFormatIn

input tensor format: CHW or HWC

Definition at line 76 of file MMALIB_CNN_tensor_convert_ixX_oxX.h.

◆ tensorFormatOut

MMALIB_tensor_format MMALIB_CNN_tensor_convert_ixX_oxX_InitArgs::tensorFormatOut

output tensor format: CHW or HWC

Definition at line 79 of file MMALIB_CNN_tensor_convert_ixX_oxX.h.