tvm
|
Get index-th field out of a tuple. More...
#include <expr.h>
Public Member Functions | |
TVM_DECLARE_FINAL_OBJECT_INFO (TupleGetItemNode, 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 | |
Expr | tuple |
The tuple Expression. More... | |
int | index |
which value to get 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 const char * | _type_key = "relax.expr.TupleGetItem" |
![]() | |
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 |
Get index-th field out of a tuple.
|
inlinestatic |
tvm::relax::TupleGetItemNode::TVM_DECLARE_FINAL_OBJECT_INFO | ( | TupleGetItemNode | , |
ExprNode | |||
) |
|
staticconstexpr |
int tvm::relax::TupleGetItemNode::index |
which value to get
Expr tvm::relax::TupleGetItemNode::tuple |
The tuple Expression.