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 (Type ty, ffi::Any value, Location loc=UnknownLoc())
 
 GenericConst (ffi::ObjectPtr< GenericConstObj > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (GenericConst, Constant, GenericConstObj)
 
 TVM_DEFINE_OBJECT_REF_COW_METHOD (GenericConstObj)
 
- Public Member Functions inherited from tvm::Constant
 Constant (ffi::ObjectPtr< ConstantObj > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Constant, Expr, ConstantObj)
 
- 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< ExprObj > node)
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (Expr, ffi::ObjectRef, ExprObj)
 

Detailed Description

Managed reference to a generic constant.

Constructor & Destructor Documentation

◆ GenericConst() [1/2]

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

◆ GenericConst() [2/2]

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

Member Function Documentation

◆ TVM_DEFINE_OBJECT_REF_COW_METHOD()

tvm::GenericConst::TVM_DEFINE_OBJECT_REF_COW_METHOD ( GenericConstObj  )

◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

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

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