TI Deep Learning Product User Guide
sTIDL_PadLayerParams_t Struct Reference

Detailed Description

This structure define the parameters of Pad layer in TIDL.

Data Fields

int32_t padT
 
int32_t padB
 
int32_t padL
 
int32_t padR
 
int32_t padConstValue
 
int32_t padType
 
int32_t perChannelPadConstTensorOffset
 

Field Documentation

◆ padT

int32_t sTIDL_PadLayerParams_t::padT

Top padding to be added as part of the pad layer

◆ padB

int32_t sTIDL_PadLayerParams_t::padB

Bottom padding to be added as part of the pad layer

◆ padL

int32_t sTIDL_PadLayerParams_t::padL

Left padding to be added as part of the pad layer

◆ padR

int32_t sTIDL_PadLayerParams_t::padR

Right padding to be added as part of the pad layer

◆ padConstValue

int32_t sTIDL_PadLayerParams_t::padConstValue

The value of the constant to be padded to the layer

◆ padType

int32_t sTIDL_PadLayerParams_t::padType

Type of padding to be done as defined in eTIDL_PadLayerPadType

◆ perChannelPadConstTensorOffset

int32_t sTIDL_PadLayerParams_t::perChannelPadConstTensorOffset

Offset where per channel values to be used for padding are stored. A value of zero indicates that this infomation is not valid