DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

LightNet.h File Reference

Detailed Description

NVIDIA DriveWorks API: LightNet Module

Description: This file defines LightNet methods.

Definition in file LightNet.h.

Go to the source code of this file.

Data Structures

struct  dwLightNetParams
 

Typedefs

typedef struct dwLightNetObject * dwLightNetHandle_t
 Handle to a LightNet object. More...
 

Enumerations

enum  dwLightNetBatchSize {
  DW_LIGHTNET_BATCH_SIZE_1 = 0,
  DW_LIGHTNET_BATCH_SIZE_16 = 1,
  DW_LIGHTNET_BATCH_SIZE_32 = 2,
  DW_LIGHTNET_BATCH_SIZE_64 = 3
}
 LightNet network batch size options. More...
 
enum  dwLightNetModel {
  DW_LIGHTNET_MODEL_FRONT_V5 = 0,
  DW_LIGHTNET_MODEL_FRONT_V6 = 1,
  DW_LIGHTNET_MODEL_FRONT_V7 = 2,
  DW_LIGHTNET_MODEL_FRONT_V8 = 3,
  DW_LIGHTNET_MODEL_COUNT,
  DW_LIGHTNET_MODEL_CUSTOM = -1
}
 LightNet network models to be loaded by LightNet module. More...
 

Functions

DW_API_PUBLIC dwStatus dwLightNet_getDNNMetaData (dwDNNMetaData *metaData, dwLightNetHandle_t obj)
 Returns the DNN metadata. More...
 
DW_API_PUBLIC dwStatus dwLightNet_getInputBlobsize (dwBlobSize *inputBlobsize, dwLightNetHandle_t obj)
 Returns input blob size that LightNet expects. More...
 
DW_API_PUBLIC dwStatus dwLightNet_getNumberOutputs (uint32_t *numLightOutputs, dwLightNetHandle_t obj)
 Returns the number of raw lightnet outputs its DNN produces. More...
 
DW_API_PUBLIC dwStatus dwLightNet_getTypeLabel (const char **classLabel, uint32_t classIdx, dwLightNetHandle_t obj)
 Returns the class label for a given class index. More...
 
DW_API_PUBLIC dwStatus dwLightNet_initDefaultParams (dwLightNetParams *params, dwContextHandle_t ctx)
 Initializes LightNet parameters with default values. More...
 
DW_API_PUBLIC dwStatus dwLightNet_initialize (dwLightNetHandle_t *lightNetHandle, const dwLightNetParams *lightNetParams, dwContextHandle_t ctx)
 Initializes LightNet module. More...
 
DW_API_PUBLIC dwStatus dwLightNet_release (dwLightNetHandle_t obj)
 Releases the LightNet module. More...
 
DW_API_PUBLIC dwStatus dwLightNet_reset (dwLightNetHandle_t obj)
 Resets LightNet. More...