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>
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: