TensorRT 8.6.0
nvcaffeparser1::IBinaryProtoBlob Class Referenceabstract

Object used to store and query data extracted from a binaryproto file using the ICaffeParser. More...

#include <NvCaffeParser.h>

Public Member Functions

virtual void const * getData () noexcept=0
 
virtual nvinfer1::Dims4 getDimensions () noexcept=0
 
virtual nvinfer1::DataType getDataType () noexcept=0
 
virtual TRT_DEPRECATED void destroy () noexcept=0
 
virtual ~IBinaryProtoBlob () noexcept=default
 

Detailed Description

Object used to store and query data extracted from a binaryproto file using the ICaffeParser.

See also
nvcaffeparser1::ICaffeParser
Warning
Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.

Constructor & Destructor Documentation

◆ ~IBinaryProtoBlob()

virtual nvcaffeparser1::IBinaryProtoBlob::~IBinaryProtoBlob ( )
virtualdefaultnoexcept

Member Function Documentation

◆ destroy()

virtual TRT_DEPRECATED void nvcaffeparser1::IBinaryProtoBlob::destroy ( )
pure virtualnoexcept
Deprecated:
Deprecated in TensorRT 8.0. Superseded by delete.
Warning
Calling destroy on a managed pointer will result in a double-free error.

◆ getData()

virtual void const * nvcaffeparser1::IBinaryProtoBlob::getData ( )
pure virtualnoexcept

◆ getDataType()

virtual nvinfer1::DataType nvcaffeparser1::IBinaryProtoBlob::getDataType ( )
pure virtualnoexcept

◆ getDimensions()

virtual nvinfer1::Dims4 nvcaffeparser1::IBinaryProtoBlob::getDimensions ( )
pure virtualnoexcept

The documentation for this class was generated from the following file: