tvm
Public Member Functions | Static Public Member Functions | List of all members
tvm::PrimExpr Class Reference

Reference to PrimExprNode. More...

#include <expr.h>

Inheritance diagram for tvm::PrimExpr:
Collaboration diagram for tvm::PrimExpr:

Public Member Functions

 PrimExpr (int32_t value)
 construct from integer. More...
 
 PrimExpr (float value)
 construct from float. More...
 
DataType dtype () const
 
 TVM_DEFINE_OBJECT_REF_METHODS (PrimExpr, BaseExpr, PrimExprNode)
 
- Public Member Functions inherited from tvm::BaseExpr
 TVM_DEFINE_OBJECT_REF_METHODS (BaseExpr, ObjectRef, BaseExprNode)
 

Static Public Member Functions

static PrimExpr ConvertFallbackValue (String value)
 construct from string to form a StringImm. More...
 

Detailed Description

Reference to PrimExprNode.

See also
PrimExprNode

Constructor & Destructor Documentation

◆ PrimExpr() [1/2]

tvm::PrimExpr::PrimExpr ( int32_t  value)

construct from integer.

Parameters
valueThe value to be constructed.

◆ PrimExpr() [2/2]

tvm::PrimExpr::PrimExpr ( float  value)

construct from float.

Parameters
valueThe value to be constructed.

Member Function Documentation

◆ ConvertFallbackValue()

static PrimExpr tvm::PrimExpr::ConvertFallbackValue ( String  value)
static

construct from string to form a StringImm.

Parameters
valueThe value to be constructed.

◆ dtype()

DataType tvm::PrimExpr::dtype ( ) const
inline
Returns
the data type of this expression.

◆ TVM_DEFINE_OBJECT_REF_METHODS()

tvm::PrimExpr::TVM_DEFINE_OBJECT_REF_METHODS ( PrimExpr  ,
BaseExpr  ,
PrimExprNode   
)

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