TI Deep Learning Library User Guide
sTIDL_Network_t Struct Reference

Detailed Description

This structure define the parameters CNN/Deep learning net in TIDL.

Data Fields

int32_t netVersion
 
int32_t numLayers
 
int32_t weightsElementSize
 
int32_t slopeElementSize
 
int32_t biasElementSize
 
int32_t dataElementSize
 
int32_t interElementSize
 
int32_t quantizationStyle
 
int32_t dataFlowInfo
 
int32_t isQuantStatsAvailable
 
int32_t reserved
 
sTIDL_Layer_t TIDLLayers [TIDL_NUM_MAX_LAYERS]
 

Field Documentation

◆ netVersion

int32_t sTIDL_Network_t::netVersion

Version Number for TIDl net format

◆ numLayers

int32_t sTIDL_Network_t::numLayers

Number of layers in the network including the input and output data Layers

◆ weightsElementSize

int32_t sTIDL_Network_t::weightsElementSize

Size of compute layer weight parameters in bytes

◆ slopeElementSize

int32_t sTIDL_Network_t::slopeElementSize

Size of PRelU layer weight/slope parameters in bytes

◆ biasElementSize

int32_t sTIDL_Network_t::biasElementSize

Size of compute layer Bias parameters in bytes

◆ dataElementSize

int32_t sTIDL_Network_t::dataElementSize

Size of compute layer input and data buffers in bytes

◆ interElementSize

int32_t sTIDL_Network_t::interElementSize

Size of compute layer intermediate data in bytes

◆ quantizationStyle

int32_t sTIDL_Network_t::quantizationStyle

Variable to indicate different types of quantization Styles

◆ dataFlowInfo

int32_t sTIDL_Network_t::dataFlowInfo

dataFlow Info from offline Analysis

◆ isQuantStatsAvailable

int32_t sTIDL_Network_t::isQuantStatsAvailable

Quantization statistics availability - Updated with tidl_quant_stats_tool

◆ reserved

int32_t sTIDL_Network_t::reserved

Reserved Parameters

◆ TIDLLayers

sTIDL_Layer_t sTIDL_Network_t::TIDLLayers[TIDL_NUM_MAX_LAYERS]

Layer Parameter for each layer