tvm
|
The variable class for all Relax bindings. More...
#include <expr.h>
Public Member Functions | |
const 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_DECLARE_BASE_OBJECT_INFO (VarNode, LeafExprNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (LeafExprNode, ExprNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (RelaxExprNode, BaseExprNode) | |
![]() | |
TVM_DECLARE_BASE_OBJECT_INFO (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... | |
![]() | |
Optional< ObjectRef > | struct_info_ = 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 char * | _type_key = "relax.expr.Var" |
static constexpr const uint32_t | _type_child_slots = 1 |
![]() | |
static constexpr const char * | _type_key = "relax.expr.LeafExpr" |
static constexpr const uint32_t | _type_child_slots = 7 |
![]() | |
static constexpr const char * | _type_key = "ir.RelaxExpr" |
static constexpr const uint32_t | _type_child_slots = 22 |
![]() | |
static constexpr const char * | _type_key = "ir.BaseExpr" |
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_DECLARE_BASE_OBJECT_INFO | ( | VarNode | , |
LeafExprNode | |||
) |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Id tvm::relax::VarNode::vid |
The identifier of the variable, which is used for comparing stable equality across transformations.