25 #ifndef TVM_RELAX_TIR_PATTERN_H_
26 #define TVM_RELAX_TIR_PATTERN_H_
51 static constexpr
const char*
_type_key =
"relax.MatchResult";
Visitor class to get the attributes of an AST/IR node. The content is going to be called for each fie...
Definition: reflection.h:52
Definition: tir_pattern.h:38
static constexpr const char * _type_key
Definition: tir_pattern.h:51
TIRPattern pattern
Definition: tir_pattern.h:41
TVM_DECLARE_FINAL_OBJECT_INFO(MatchResultNode, Object)
Array< PrimExpr > symbol_values
The evaluated values of symbolic vars.
Definition: tir_pattern.h:43
void VisitAttrs(AttrVisitor *v)
Definition: tir_pattern.h:46
Array< tir::Buffer > matched_buffers
The matched buffers of input and output.
Definition: tir_pattern.h:45
Managed reference to MatchResultNode.
Definition: tir_pattern.h:58
MatchResult(TIRPattern pattern, Array< PrimExpr > symbol_values, Array< tir::Buffer > matched_buffers)
Constructor.
Array, container representing a contiguous sequence of ObjectRefs.
Definition: array.h:289
Base class of all object reference.
Definition: object.h:519
base class of all object containers.
Definition: object.h:171
Please refer to TypedPackedFunc<R(Args..)>.
Definition: packed_func.h:63
Managed reference to PrimFuncNode.
Definition: function.h:145
PrimFuncFrame PrimFunc(bool is_private)
The primitive function statement.
runtime implementation for LibTorch/TorchScript.
Definition: analyzer.h:36
#define TVM_DEFINE_OBJECT_REF_METHODS(TypeName, ParentType, ObjectName)
Definition: object.h:758