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

A pattern that asserting a root pattern has certain attributes. More...

#include <dataflow_pattern.h>

Inheritance diagram for tvm::relax::AttrPatternObj:
Collaboration diagram for tvm::relax::AttrPatternObj:

Public Member Functions

 AttrPatternObj (DFPattern pattern)
 
 AttrPatternObj (ffi::UnsafeInit)
 
 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("relax.dpl.AttrPattern", AttrPatternObj, DFPatternObj)
 
- Public Member Functions inherited from tvm::relax::DFPatternObj
 TVM_FFI_DECLARE_OBJECT_INFO ("relax.dpl.DFPattern", DFPatternObj, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

DFPattern pattern
 
DictAttrs attrs
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::relax::DFPatternObj
static constexpr const uint32_t _type_child_slots = 21
 

Detailed Description

A pattern that asserting a root pattern has certain attributes.

See also
AttrPattern

Constructor & Destructor Documentation

◆ AttrPatternObj() [1/2]

tvm::relax::AttrPatternObj::AttrPatternObj ( DFPattern  pattern)
inlineexplicit

◆ AttrPatternObj() [2/2]

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

Member Function Documentation

◆ RegisterReflection()

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

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::relax::AttrPatternObj::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "relax.dpl.AttrPattern"  ,
AttrPatternObj  ,
DFPatternObj   
)

Member Data Documentation

◆ attrs

DictAttrs tvm::relax::AttrPatternObj::attrs

The attributes (a map/dictionary) to match

◆ pattern

DFPattern tvm::relax::AttrPatternObj::pattern

The root pattern to match


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