Describes the context and requirements, that could be fulfilled by one or more instances of IAlgorithm.
More...
Describes the context and requirements, that could be fulfilled by one or more instances of IAlgorithm.
- See also
- IAlgorithm
- Warning
- Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.
◆ ~IAlgorithmContext()
virtual nvinfer1::IAlgorithmContext::~IAlgorithmContext |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ getName()
virtual const char* nvinfer1::IAlgorithmContext::getName |
( |
| ) |
const |
|
pure virtual |
Return name of the algorithm node.
This is a unique identifier for the IAlgorithmContext.
◆ getDimensions()
Get the minimum / optimum / maximum dimensions for input or output tensor.
- Parameters
-
index | Index of the input or output of the algorithm. Incremental numbers assigned to indices of inputs and the outputs. |
select | Which of the minimum, optimum, or maximum dimensions to be queried. |
◆ getNbInputs()
virtual int32_t nvinfer1::IAlgorithmContext::getNbInputs |
( |
| ) |
const |
|
pure virtual |
Return number of inputs of the algorithm.
◆ getNbOutputs()
virtual int32_t nvinfer1::IAlgorithmContext::getNbOutputs |
( |
| ) |
const |
|
pure virtual |
Return number of outputs of the algorithm.
The documentation for this class was generated from the following file: