TensorRT  7.2.1.6
NVIDIA TensorRT
Looking for a C++ dev who knows TensorRT?
I'm looking for work. Hire me!
nvinfer1::IExprBuilder Class Referenceabstract

Public Member Functions

virtual const IDimensionExprconstant (int32_t value)=0
 Return pointer to IDimensionExp for given value. More...
 
virtual const IDimensionExproperation (DimensionOperation op, const IDimensionExpr &first, const IDimensionExpr &second)=0
 Return pointer to IDimensionExp that represents the given operation applied to first and second. More...
 

Protected Member Functions

virtual ~IExprBuilder ()
 

Detailed Description

Object for constructing IDimensionExpr.

There is no public way to construct an IExprBuilder. It appears as an argument to method IPluginV2DynamicExt::getOutputDimensions(). Overrides of that method can use that IExprBuilder argument to construct expressions that define output dimensions in terms of input dimensions.

Clients should assume that any values constructed by the IExprBuilder are destroyed after IPluginV2DynamicExt::getOutputDimensions() returns.

Warning
Do not inherit from this class, as doing so will break forward-compatibility of the API and ABI.
See also
IDimensionExpr

Constructor & Destructor Documentation

◆ ~IExprBuilder()

virtual nvinfer1::IExprBuilder::~IExprBuilder ( )
inlineprotectedvirtual

Member Function Documentation

◆ constant()

virtual const IDimensionExpr* nvinfer1::IExprBuilder::constant ( int32_t  value)
pure virtual

Return pointer to IDimensionExp for given value.

Here is the caller graph for this function:

◆ operation()

virtual const IDimensionExpr* nvinfer1::IExprBuilder::operation ( DimensionOperation  op,
const IDimensionExpr first,
const IDimensionExpr second 
)
pure virtual

Return pointer to IDimensionExp that represents the given operation applied to first and second.

Returns nullptr if op is not a valid DimensionOperation.

Here is the caller graph for this function:

The documentation for this class was generated from the following file: