TensorRT
6.0.1.5
|
#include <NvInferRuntime.h>
Public Member Functions | |
virtual bool | isConstant () const =0 |
Return true if expression is a build-time constant. | |
virtual int | getConstantValue () const =0 |
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.
|
pure virtual |
If isConstant(), returns value of the constant. If !isConstant(), return std::numeric_limits<int>::min().