tvm
Loading...
Searching...
No Matches
Public Member Functions | List of all members
tvm::GenericConst Class Reference

Managed reference to a generic constant. More...

#include <expr.h>

Inheritance diagram for tvm::GenericConst:
Collaboration diagram for tvm::GenericConst:

Public Member Functions

TVM_TIRX_DLL GenericConst (ffi::Any value, Type ty, Location loc=UnknownLoc())
 
 GenericConst (ffi::ObjectPtr< GenericConstNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (GenericConst, Constant, GenericConstNode)
 
 TVM_DEFINE_OBJECT_REF_COW_METHOD (GenericConstNode)
 
- Public Member Functions inherited from tvm::Constant
 Constant (ffi::ObjectPtr< ConstantNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Constant, Expr, ConstantNode)
 
- Public Member Functions inherited from tvm::Expr
bool operator== (const Expr &other) const =delete
 
bool operator!= (const Expr &other) const =delete
 
bool operator< (const Expr &other) const =delete
 
 Expr (ffi::ObjectPtr< ExprNode > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Expr, ffi::ObjectRef, ExprNode)
 

Detailed Description

Managed reference to a generic constant.

Constructor & Destructor Documentation

◆ GenericConst() [1/2]

TVM_TIRX_DLL tvm::GenericConst::GenericConst ( ffi::Any  value,
Type  ty,
Location  loc = UnknownLoc() 
)

◆ GenericConst() [2/2]

tvm::GenericConst::GenericConst ( ffi::ObjectPtr< GenericConstNode >  node)
inlineexplicit

Member Function Documentation

◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()

tvm::GenericConst::TVM_DEFINE_OBJECT_REF_COW_METHOD ( GenericConstNode  )

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::GenericConst::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( GenericConst  ,
Constant  ,
GenericConstNode   
)

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