TensorRT
7.1.3.0
|
Describes the context and requirements, that could be fulfilled by one or more instances of IAlgorithm. More...
#include <NvInfer.h>
Public Member Functions | |
virtual const char * | getName () const =0 |
Return name of the algorithm node. This is a unique identifier for the IAlgorithmContext. | |
virtual Dims | getDimensions (int32_t index, OptProfileSelector select) const =0 |
Get the minimum / optimum / maximum dimensions for input or output tensor. More... | |
virtual int32_t | getNbInputs () const =0 |
Return number of inputs of the algorithm. | |
virtual int32_t | getNbOutputs () const =0 |
Return number of outputs of the algorithm. | |
Describes the context and requirements, that could be fulfilled by one or more instances of IAlgorithm.
|
pure virtual |
Get the minimum / optimum / maximum dimensions for input or output tensor.
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. |