TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
SampleBuffer Class Reference
Collaboration diagram for SampleBuffer:

Public Member Functions

 SampleBuffer ()
 
 SampleBuffer (nvinfer1::Dims dims, int dataWidth, TensorFormat format)
 
 ~SampleBuffer ()
 
SampleBufferoperator= (SampleBuffer &&sampleBuffer) noexcept
 
void destroy ()
 
int getBufferSize ()
 

Public Attributes

nvinfer1::Dims dims
 
int dataWidth {1}
 
TensorFormat format {TensorFormat::kLINEAR}
 
BufferDesc desc
 
uint8_t * buffer = nullptr
 

Constructor & Destructor Documentation

◆ SampleBuffer() [1/2]

SampleBuffer::SampleBuffer ( )
inline

◆ SampleBuffer() [2/2]

SampleBuffer::SampleBuffer ( nvinfer1::Dims  dims,
int  dataWidth,
TensorFormat  format 
)
inline
Here is the call graph for this function:

◆ ~SampleBuffer()

SampleBuffer::~SampleBuffer ( )
inline
Here is the call graph for this function:

Member Function Documentation

◆ operator=()

SampleBuffer& SampleBuffer::operator= ( SampleBuffer &&  sampleBuffer)
inlinenoexcept
Here is the call graph for this function:

◆ destroy()

void SampleBuffer::destroy ( )
inline
Here is the caller graph for this function:

◆ getBufferSize()

int SampleBuffer::getBufferSize ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ dims

nvinfer1::Dims SampleBuffer::dims

◆ dataWidth

int SampleBuffer::dataWidth {1}

◆ format

TensorFormat SampleBuffer::format {TensorFormat::kLINEAR}

◆ desc

BufferDesc SampleBuffer::desc

◆ buffer

uint8_t* SampleBuffer::buffer = nullptr

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