tvm
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
tvm::relax::MatchCastNode Class Reference

Runtime-match the value to the struct info. More...

#include <expr.h>

Inheritance diagram for tvm::relax::MatchCastNode:
Collaboration diagram for tvm::relax::MatchCastNode:

Public Member Functions

 TVM_DECLARE_FINAL_OBJECT_INFO (MatchCastNode, BindingNode)
 
- Public Member Functions inherited from tvm::relax::BindingNode
 TVM_DECLARE_BASE_OBJECT_INFO (BindingNode, Object)
 

Static Public Member Functions

static void RegisterReflection ()
 
- Static Public Member Functions inherited from tvm::relax::BindingNode
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...
 
- Public Attributes inherited from tvm::relax::BindingNode
Span span
 
Var var
 The return variable to bound to. More...
 

Static Public Attributes

static constexpr const char * _type_key = "relax.expr.MatchCast"
 
- Static Public Attributes inherited from tvm::relax::BindingNode
static constexpr const char * _type_key = "relax.expr.Binding"
 
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

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.

Member Function Documentation

◆ RegisterReflection()

static void tvm::relax::MatchCastNode::RegisterReflection ( )
inlinestatic

◆ TVM_DECLARE_FINAL_OBJECT_INFO()

tvm::relax::MatchCastNode::TVM_DECLARE_FINAL_OBJECT_INFO ( MatchCastNode  ,
BindingNode   
)

Member Data Documentation

◆ _type_key

constexpr const char* tvm::relax::MatchCastNode::_type_key = "relax.expr.MatchCast"
staticconstexpr

◆ struct_info

StructInfo tvm::relax::MatchCastNode::struct_info

The struct info pattern to match to.

◆ value

Expr tvm::relax::MatchCastNode::value

The input value to match cast.


The documentation for this class was generated from the following file: