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...
#include <NvInfer.h>
|
TRT_DEPRECATED const IAlgorithmIOInfo & | getAlgorithmIOInfo (int32_t index) const noexcept |
| Returns the format of an Algorithm input or output. Algorithm inputs are incrementally numbered first, followed by algorithm outputs. More...
|
|
const IAlgorithmVariant & | getAlgorithmVariant () const noexcept |
| Returns the algorithm variant.
|
|
float | getTimingMSec () const noexcept |
| The time in milliseconds to execute the algorithm.
|
|
std::size_t | getWorkspaceSize () const noexcept |
| The size of the GPU temporary memory in bytes which the algorithm uses at execution time.
|
|
const IAlgorithmIOInfo * | getAlgorithmIOInfoByIndex (int32_t index) const noexcept |
| Returns the format of an Algorithm input or output. Algorithm inputs are incrementally numbered first, followed by algorithm outputs. More...
|
|
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.
◆ getAlgorithmIOInfo()
Returns the format of an Algorithm input or output. Algorithm inputs are incrementally numbered first, followed by algorithm outputs.
- Parameters
-
index | Index of the input or output of the algorithm. Incremental numbers assigned to indices of inputs and the outputs. |
- Returns
- a reference to IAlgorithmIOInfo specified by index or the first algorithm if index is out of range.
- Deprecated:
- API will be removed in TensorRT 10.0, use IAlgorithm::getAlgorithmIOInfoByIndex instead.
◆ getAlgorithmIOInfoByIndex()
const IAlgorithmIOInfo * nvinfer1::IAlgorithm::getAlgorithmIOInfoByIndex |
( |
int32_t |
index | ) |
const |
|
inlinenoexcept |
Returns the format of an Algorithm input or output. Algorithm inputs are incrementally numbered first, followed by algorithm outputs.
- Parameters
-
index | Index of the input or output of the algorithm. Incremental numbers assigned to indices of inputs and the outputs. |
- Returns
- a pointer to a IAlgorithmIOInfo interface or nullptr if index is out of range.
The documentation for this class was generated from the following file: