#include <NvInferRuntime.h>
|
apiv::VDimensionExpr * | mImpl |
|
An IDimensionExpr represents an integer expression constructed from constants, input dimensions, and binary operations. These expressions are can be used in overrides of IPluginV2DynamicExt::getOutputDimensions to define output dimensions in terms of input dimensions.
- Warning
- Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.
- See also
- DimensionOperation, IPluginV2DynamicExt::getOutputDimensions
◆ ~IDimensionExpr()
virtual nvinfer1::IDimensionExpr::~IDimensionExpr |
( |
| ) |
|
|
protectedvirtualdefaultnoexcept |
◆ getConstantValue()
int32_t nvinfer1::IDimensionExpr::getConstantValue |
( |
| ) |
const |
|
inlinenoexcept |
If isConstant(), returns value of the constant. If !isConstant(), return std::numeric_limits<int32_t>::min().
◆ isConstant()
bool nvinfer1::IDimensionExpr::isConstant |
( |
| ) |
const |
|
inlinenoexcept |
Return true if expression is a build-time constant.
◆ mImpl
apiv::VDimensionExpr* nvinfer1::IDimensionExpr::mImpl |
|
protected |
The documentation for this class was generated from the following file: