描述了上下文和需求,这些上下文和需求可以被一个或多个 IAlgorithm 实例满足。更多...
#include <NvInfer.h>
|
apiv::VAlgorithmContext * | mImpl |
|
描述了上下文和需求,这些上下文和需求可以被一个或多个 IAlgorithm 实例满足。
- 另请参阅
- IAlgorithm
- 警告
- 请勿从此类继承,因为这样做会破坏 API 和 ABI 的向前兼容性。
- 已弃用
- 在 TensorRT 10.8 中已弃用。请改用 ITimingCache 中的可编辑模式。
◆ ~IAlgorithmContext()
virtual nvinfer1::IAlgorithmContext::~IAlgorithmContext |
( |
| ) |
|
|
protectedvirtualdefaultnoexcept |
◆ getDimensions()
获取输入或输出张量的最小/最佳/最大维度。
- 参数
-
index | 算法的输入或输出的索引。分配给输入和输出索引的递增数字。 |
select | 要查询的最小、最佳或最大维度。 |
◆ getName()
char const * nvinfer1::IAlgorithmContext::getName |
( |
| ) |
const |
|
inlinenoexcept |
◆ getNbInputs()
int32_t nvinfer1::IAlgorithmContext::getNbInputs |
( |
| ) |
const |
|
inlinenoexcept |
◆ getNbOutputs()
int32_t nvinfer1::IAlgorithmContext::getNbOutputs |
( |
| ) |
const |
|
inlinenoexcept |
◆ mImpl
apiv::VAlgorithmContext* nvinfer1::IAlgorithmContext::mImpl |
|
protected |
此类文档从以下文件生成