tvm
|
The variable class for all Relax bindings. More...
#include <expr.h>
Public Member Functions | |
const ffi::String & | name_hint () const |
bool | SEqual (const VarNode *other, ffi::TypedFunction< bool(AnyView, AnyView, bool, AnyView)> equal) const |
uint64_t | SHash (uint64_t init_hash, ffi::TypedFunction< uint64_t(AnyView, uint64_t, bool)> hash) const |
TVM_FFI_DECLARE_OBJECT_INFO ("relax.expr.Var", VarNode, LeafExprNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("relax.expr.LeafExpr", LeafExprNode, ExprNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("ir.RelaxExpr", RelaxExprNode, BaseExprNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("ir.BaseExpr", BaseExprNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
Id | vid |
The identifier of the variable, which is used for comparing stable equality across transformations. More... | |
![]() | |
ffi::Optional< ObjectRef > | struct_info_ = ffi::Optional<ObjectRef>() |
Stores the result of structure information of the expression that encapsulate both static shape and runtime information such as shape. More... | |
![]() | |
Span | span |
Span that points to the original source code. Reserved debug information. More... | |
Static Public Attributes | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindDAGNode |
static constexpr const uint32_t | _type_child_slots = 1 |
![]() | |
static constexpr const uint32_t | _type_child_slots = 7 |
![]() | |
static constexpr const uint32_t | _type_child_slots = 22 |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
static constexpr const uint32_t | _type_child_slots = 64 |
The variable class for all Relax bindings.
|
inline |
|
inlinestatic |
|
inline |
|
inline |
tvm::relax::VarNode::TVM_FFI_DECLARE_OBJECT_INFO | ( | "relax.expr.Var" | , |
VarNode | , | ||
LeafExprNode | |||
) |
|
staticconstexpr |
|
staticconstexpr |
Id tvm::relax::VarNode::vid |
The identifier of the variable, which is used for comparing stable equality across transformations.