TensorRT 8.5.3
nvinfer1::IAlgorithmIOInfo Class Reference

Carries information about input or output of the algorithm. IAlgorithmIOInfo for all the input and output along with IAlgorithmVariant denotes the variation of algorithm and can be used to select or reproduce an algorithm using IAlgorithmSelector::selectAlgorithms(). More...

#include <NvInfer.h>

Inheritance diagram for nvinfer1::IAlgorithmIOInfo:
nvinfer1::INoCopy

Public Member Functions

TensorFormat getTensorFormat () const noexcept
 Return TensorFormat of the input/output of algorithm. More...
 
DataType getDataType () const noexcept
 Return DataType of the input/output of algorithm. More...
 
Dims getStrides () const noexcept
 Return strides of the input/output tensor of algorithm. More...
 

Protected Member Functions

virtual ~IAlgorithmIOInfo () noexcept=default
 
- Protected Member Functions inherited from nvinfer1::INoCopy
 INoCopy ()=default
 
virtual ~INoCopy ()=default
 
 INoCopy (INoCopy const &other)=delete
 
INoCopyoperator= (INoCopy const &other)=delete
 
 INoCopy (INoCopy &&other)=delete
 
INoCopyoperator= (INoCopy &&other)=delete
 

Protected Attributes

apiv::VAlgorithmIOInfo * mImpl
 

Detailed Description

Carries information about input or output of the algorithm. IAlgorithmIOInfo for all the input and output along with IAlgorithmVariant denotes the variation of algorithm and can be used to select or reproduce an algorithm using IAlgorithmSelector::selectAlgorithms().

See also
IAlgorithmVariant, IAlgorithm, IAlgorithmSelector::selectAlgorithms()
Warning
Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.

Constructor & Destructor Documentation

◆ ~IAlgorithmIOInfo()

virtual nvinfer1::IAlgorithmIOInfo::~IAlgorithmIOInfo ( )
protectedvirtualdefaultnoexcept

Member Function Documentation

◆ getDataType()

DataType nvinfer1::IAlgorithmIOInfo::getDataType ( ) const
inlinenoexcept

Return DataType of the input/output of algorithm.

◆ getStrides()

Dims nvinfer1::IAlgorithmIOInfo::getStrides ( ) const
inlinenoexcept

Return strides of the input/output tensor of algorithm.

◆ getTensorFormat()

TensorFormat nvinfer1::IAlgorithmIOInfo::getTensorFormat ( ) const
inlinenoexcept

Return TensorFormat of the input/output of algorithm.

Member Data Documentation

◆ mImpl

apiv::VAlgorithmIOInfo* nvinfer1::IAlgorithmIOInfo::mImpl
protected

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