TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
nvinfer1::IAlgorithm Class Referenceabstract

Describes a variation of execution of a layer. An algorithm is represented by IAlgorithmVariant and the IAlgorithmIOInfo for each of its inputs and outputs. An algorithm can be selected or reproduced using AlgorithmSelector::selectAlgorithms().". More...

Public Member Functions

virtual const IAlgorithmIOInfogetAlgorithmIOInfo (int32_t index) const =0
 Returns the format of an Algorithm input or output. More...
 
virtual const IAlgorithmVariantgetAlgorithmVariant () const =0
 Returns the algorithm variant. More...
 
virtual float getTimingMSec () const =0
 The time in milliseconds to execute the algorithm. More...
 
virtual std::size_t getWorkspaceSize () const =0
 The size of the GPU temporary memory in bytes which the algorithm uses at execution time. More...
 

Protected Member Functions

virtual ~IAlgorithm ()
 

Detailed Description

Describes a variation of execution of a layer. An algorithm is represented by IAlgorithmVariant and the IAlgorithmIOInfo for each of its inputs and outputs. An algorithm can be selected or reproduced using AlgorithmSelector::selectAlgorithms().".

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

Constructor & Destructor Documentation

◆ ~IAlgorithm()

virtual nvinfer1::IAlgorithm::~IAlgorithm ( )
inlineprotectedvirtual

Member Function Documentation

◆ getAlgorithmIOInfo()

virtual const IAlgorithmIOInfo& nvinfer1::IAlgorithm::getAlgorithmIOInfo ( int32_t  index) const
pure virtual

Returns the format of an Algorithm input or output.

Algorithm inputs are incrementally numbered first, followed by algorithm outputs.

Parameters
indexIndex of the input or output of the algorithm. Incremental numbers assigned to indices of inputs and the outputs.
Here is the caller graph for this function:

◆ getAlgorithmVariant()

virtual const IAlgorithmVariant& nvinfer1::IAlgorithm::getAlgorithmVariant ( ) const
pure virtual

Returns the algorithm variant.

Here is the caller graph for this function:

◆ getTimingMSec()

virtual float nvinfer1::IAlgorithm::getTimingMSec ( ) const
pure virtual

The time in milliseconds to execute the algorithm.

◆ getWorkspaceSize()

virtual std::size_t nvinfer1::IAlgorithm::getWorkspaceSize ( ) const
pure virtual

The size of the GPU temporary memory in bytes which the algorithm uses at execution time.


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