tvm
Public Member Functions | Static Public Attributes | List of all members
tvm::PrimExprConvertibleNode Class Referenceabstract

Base class for other IR constructs that can be converted to PrimExpr. This is useful for the FFI to convert the expressions to PrimExpr. More...

#include <expr.h>

Inheritance diagram for tvm::PrimExprConvertibleNode:
Collaboration diagram for tvm::PrimExprConvertibleNode:

Public Member Functions

virtual ~PrimExprConvertibleNode ()
 
virtual PrimExpr ToPrimExpr () const =0
 
 TVM_DECLARE_BASE_OBJECT_INFO (PrimExprConvertibleNode, Object)
 

Static Public Attributes

static constexpr const char * _type_key = "ir.PrimExprConvertible"
 

Detailed Description

Base class for other IR constructs that can be converted to PrimExpr. This is useful for the FFI to convert the expressions to PrimExpr.

See also
PrimExpr

Constructor & Destructor Documentation

◆ ~PrimExprConvertibleNode()

virtual tvm::PrimExprConvertibleNode::~PrimExprConvertibleNode ( )
inlinevirtual

Member Function Documentation

◆ ToPrimExpr()

virtual PrimExpr tvm::PrimExprConvertibleNode::ToPrimExpr ( ) const
pure virtual

◆ TVM_DECLARE_BASE_OBJECT_INFO()

tvm::PrimExprConvertibleNode::TVM_DECLARE_BASE_OBJECT_INFO ( PrimExprConvertibleNode  ,
Object   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::PrimExprConvertibleNode::_type_key = "ir.PrimExprConvertible"
staticconstexpr

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