tvm
|
Managed reference to PrimValueNode. More...
#include <expr.h>
Public Member Functions | |
PrimValue (PrimExpr value, Span span=Span()) | |
The constructor. More... | |
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (PrimValue, LeafExpr, PrimValueNode) | |
TVM_DEFINE_OBJECT_REF_COW_METHOD (PrimValueNode) | |
![]() | |
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (LeafExpr, Expr, LeafExprNode) | |
![]() | |
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (RelaxExpr, BaseExpr, RelaxExprNode) | |
![]() | |
TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE (BaseExpr, ObjectRef, BaseExprNode) | |
Static Public Member Functions | |
static PrimValue | Int64 (int64_t value, Span span=Span()) |
Create a int64 prim value. More... | |
Managed reference to PrimValueNode.
The constructor.
value | The value input. |
span | The source span of the expression. |
Create a int64 prim value.
value | The input value. |
span | The source span of the expression. |
tvm::relax::PrimValue::TVM_DEFINE_OBJECT_REF_COW_METHOD | ( | PrimValueNode | ) |
tvm::relax::PrimValue::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NULLABLE | ( | PrimValue | , |
LeafExpr | , | ||
PrimValueNode | |||
) |