IDimensionExpr 表示一个由常量、输入维度和二元运算构建的整数表达式。这些表达式可以用于重写 IPluginV2DynamicExt::getOutputDimensions 或 IPluginV3OneBuild::getOutputShapes(),以根据输入维度定义输出维度。 更多...
#include <NvInferRuntime.h>
|
apiv::VDimensionExpr * | mImpl |
|
◆ ~IDimensionExpr()
virtual nvinfer1::IDimensionExpr::~IDimensionExpr |
( |
| ) |
|
|
protectedvirtualdefaultnoexcept |
◆ getConstantValue()
int64_t nvinfer1::IDimensionExpr::getConstantValue |
( |
| ) |
const |
|
inlinenoexcept |
获取常量的值。
如果 isConstant(),则返回常量的值。如果 !isConstant(),则返回 std::numeric_limits<int64_t>::min()。
◆ isConstant()
bool nvinfer1::IDimensionExpr::isConstant |
( |
| ) |
const |
|
inlinenoexcept |
◆ isSizeTensor()
bool nvinfer1::IDimensionExpr::isSizeTensor |
( |
| ) |
const |
|
inlinenoexcept |
◆ mImpl
apiv::VDimensionExpr* nvinfer1::IDimensionExpr::mImpl |
|
protected |
此类文档从以下文件生成