|
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) | |
Public Member Functions inherited from tvm::relax::LeafExprNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("relax.expr.LeafExpr", LeafExprNode, ExprNode) | |
Public Member Functions inherited from tvm::RelaxExprNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("ir.RelaxExpr", RelaxExprNode, BaseExprNode) | |
Public Member Functions inherited from tvm::BaseExprNode | |
| TVM_FFI_DECLARE_OBJECT_INFO ("ir.BaseExpr", BaseExprNode, Object) | |
Static Public Member Functions | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::RelaxExprNode | |
| static void | RegisterReflection () |
Static Public Member Functions inherited from tvm::BaseExprNode | |
| static void | RegisterReflection () |
Public Attributes | |
| Id | vid |
| The identifier of the variable, which is used for comparing stable equality across transformations. More... | |
Public Attributes inherited from tvm::RelaxExprNode | |
| 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... | |
Public Attributes inherited from tvm::BaseExprNode | |
| 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 Public Attributes inherited from tvm::relax::LeafExprNode | |
| static constexpr const uint32_t | _type_child_slots = 7 |
Static Public Attributes inherited from tvm::RelaxExprNode | |
| static constexpr const uint32_t | _type_child_slots = 22 |
Static Public Attributes inherited from tvm::BaseExprNode | |
| 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.