tvm
|
Runtime-match the value to the struct info. More...
#include <expr.h>
Public Member Functions | |
TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.expr.MatchCast", MatchCastNode, BindingNode) | |
![]() | |
TVM_FFI_DECLARE_OBJECT_INFO ("relax.expr.Binding", BindingNode, Object) | |
Static Public Member Functions | |
static void | RegisterReflection () |
![]() | |
static void | RegisterReflection () |
Public Attributes | |
Expr | value |
The input value to match cast. More... | |
StructInfo | struct_info |
The struct info pattern to match to. More... | |
![]() | |
Span | span |
Var | var |
The return variable to bound to. More... | |
Additional Inherited Members | |
![]() | |
static constexpr TVMFFISEqHashKind | _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode |
Runtime-match the value to the struct info.
This operation does runtime check, populates the un-defined symbolic shape vars and vars in struct_info in first occurance, and insert equality assertions in other cases.
|
inlinestatic |
tvm::relax::MatchCastNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL | ( | "relax.expr.MatchCast" | , |
MatchCastNode | , | ||
BindingNode | |||
) |
StructInfo tvm::relax::MatchCastNode::struct_info |
The struct info pattern to match to.
Expr tvm::relax::MatchCastNode::value |
The input value to match cast.