45 #ifndef DW_DNN_AUTONET_H_ 46 #define DW_DNN_AUTONET_H_ 349 #endif // DW_DNN_AUTONET_H_ DW_API_PUBLIC dwStatus dwAutoNet_reset(dwAutoNetHandle_t obj)
Resets AutoNet.
DW_API_PUBLIC dwStatus dwAutoNet_initDefaultParams(dwAutoNetParams *params)
Initializes AutoNet parameters with default values.
NVIDIA DriveWorks API: OpenRoadNet Module
NVIDIA DriveWorks API: WaitNet Module
Number of available AutoNet models.
dwMapNetParams mapNetParams
MapNet head model parameters.
dwAutoNetBatchSize
AutoNet network batch size options.
NVIDIA DriveWorks API: LightSourceNet Module
const void * networkCustomData
Custom network data. Must be set if custom model is selected and available.
dwProcessorType processorType
Processor type. Supported processors: GPU, DLA (only on DDPX)
DW_API_PUBLIC dwStatus dwAutoNet_initialize(dwAutoNetHandle_t *autoNetHandle, const dwAutoNetParams *autoNetParams, dwContextHandle_t ctx)
Initializes AutoNet module.
NVIDIA DriveWorks API: Core Methods
AutoNet network is loaded with batch size = 1 if available.
dwAutoNetModel networkModel
AutoNet network model. Default is DW_AUTONET_MODEL_FRONT.
DW_API_PUBLIC dwStatus dwAutoNet_getInputBlobsize(dwBlobSize *inputBlobsize, dwAutoNetHandle_t obj)
Returns input blob size that AutoNet expects.
NVIDIA DriveWorks API: MapNet Module
dwAutoNetBatchSize batchSize
AutoNet network batch size.
DW_API_PUBLIC dwStatus dwAutoNet_release(dwAutoNetHandle_t obj)
Releases the AutoNet module.
dwDriveNetParams driveNetParams
DriveNet head model parameters.
AutoNet model parameters.
NVIDIA DriveWorks API: DNN Methods
dwStatus
Status definition.
AutoNet model that performs best on front camera.
dwProcessorType
Processor type definitions.
int64_t dwTime_t
Specifies a timestamp unit, in microseconds.
DW_API_PUBLIC dwStatus dwAutoNet_createOutput(dwAutoNetOutputHandle_t *autonetOutput, dwAutoNetHandle_t obj)
Allocates AutoNet output.
DW_API_PUBLIC dwStatus dwAutoNet_setCUDAStream(cudaStream_t stream, dwAutoNetHandle_t obj)
Sets the CUDA stream for CUDA related operations.
DW_API_PUBLIC dwStatus dwAutoNet_destroyOutput(dwAutoNetOutputHandle_t autonetOutput)
Destroys AutoNet output.
dwPrecision networkPrecision
AutoNet network precision. Default is DW_PRECISION_FP32.
dwLightSourceNetParams lightSourcenetParams
LightSourceNet head model parameters.
struct dwDNNTensorObject const * dwConstDNNTensorHandle_t
Specifies DNNTensor properties.
NVIDIA DriveWorks API: DriveNet Module
struct dwContextObject * dwContextHandle_t
Context handle.
dwAutoNetModel
AutoNet network models to be loaded by AutoNet module.
dwAutoNetSelectionMask
Bitmask enum which enables specific DNN heads to be parsed and post-processed.
DW_API_PUBLIC dwStatus dwAutoNet_getNumHeadOutputBlobs(uint32_t *numOutputBlobs, dwAutoNetHeadType headType, dwAutoNetHandle_t obj)
Returns number of valid head outputs that AutoNet expects.
struct dwAutoNetObject * dwAutoNetHandle_t
Handle to a AutoNet object.
dwOpenRoadNetParams openRoadNetParams
OpenRoadNet head model parameters.
struct dwAutoNetOutputObject * dwAutoNetOutputHandle_t
Handle to a AutoNet output object.
Loads custom autonet model if available.
DW_API_PUBLIC dwStatus dwAutoNet_getDNNMetaData(dwDNNMetaData *metaData, dwAutoNetHandle_t obj)
Returns the DNN metadata.
dwPathNetParams pathNetParams
PathNet head model parameters.
NVIDIA DriveWorks API: PathNet Module
DW_API_PUBLIC dwStatus dwAutoNet_bindTensorTimestamp(dwAutoNetOutputHandle_t autonetOutput, dwTime_t tensorTimeStamp)
Ties image timestamp to the autonet output tensor.
DW_API_PUBLIC dwStatus dwAutoNet_getOutputTensorProperties(dwDNNTensorProperties *outputProps, dwAutoNetHeadType headType, dwAutoNetHandle_t obj)
Returns output properties that AutoNet expects.
dwAutoNetHeadType
Definition AutoNet DNN heads.
DW_API_PUBLIC dwStatus dwAutoNet_getProcessorType(dwProcessorType *processorType, dwAutoNetHandle_t obj)
Returns processor type that AutoNet runs on.
uint32_t dnnEnabled
Binary coding (via dwAutoNetSelectionMask) the set of AutoNet heads to be initialized.
DW_API_PUBLIC dwStatus dwAutoNet_inferAsync(dwAutoNetOutputHandle_t autonetOutput, dwConstDNNTensorHandle_t *inputTensors, dwAutoNetHandle_t obj)
Runs inference on given list of input tensors.
DW_API_PUBLIC dwStatus dwAutoNet_getInputTensorProperties(dwDNNTensorProperties *inputProps, dwAutoNetHandle_t obj)
Returns input properties that AutoNet expects.
DriveNet model parameters.
dwWaitNetParams waitNetParams
WaitNet head model parameters.