tvm
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
tvm::relax::MatchResultObj Class Reference

#include <tir_pattern.h>

Inheritance diagram for tvm::relax::MatchResultObj:
Collaboration diagram for tvm::relax::MatchResultObj:

Public Member Functions

 MatchResultObj (TIRPattern pattern)
 
 MatchResultObj (ffi::UnsafeInit)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.MatchResult", MatchResultObj, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

TIRPattern pattern
 
ffi::Array< PrimExpr > symbol_values
 The evaluated values of symbolic vars.
 
ffi::Array< tirx::TensorVar > matched_tensors
 The matched tensors of input and output.
 

Constructor & Destructor Documentation

◆ MatchResultObj() [1/2]

tvm::relax::MatchResultObj::MatchResultObj ( TIRPattern  pattern)
inlineexplicit

◆ MatchResultObj() [2/2]

tvm::relax::MatchResultObj::MatchResultObj ( ffi::UnsafeInit  )
inlineexplicit

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::relax::MatchResultObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "relax.MatchResult"  ,
MatchResultObj  ,
ffi::Object   
)

Member Data Documentation

◆ matched_tensors

ffi::Array<tirx::TensorVar> tvm::relax::MatchResultObj::matched_tensors

The matched tensors of input and output.

◆ pattern

TIRPattern tvm::relax::MatchResultObj::pattern

The matched tirx pattern

◆ symbol_values

ffi::Array<PrimExpr> tvm::relax::MatchResultObj::symbol_values

The evaluated values of symbolic vars.


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