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

Specialized attribute type that is backed by a map. The DictAttrsNode implements the Attrs behavior, its fields are directly accessible via object.field_name like other normal nodes. More...

#include <attrs.h>

Inheritance diagram for tvm::DictAttrsNode:
Collaboration diagram for tvm::DictAttrsNode:

Public Member Functions

 TVM_FFI_DECLARE_OBJECT_INFO_FINAL ("ir.DictAttrs", DictAttrsNode, AttrsNode)
 
- Public Member Functions inherited from tvm::AttrsNode
 TVM_FFI_DECLARE_OBJECT_INFO ("ir.Attrs", AttrsNode, ffi::Object)
 

Static Public Member Functions

static void RegisterReflection ()
 

Public Attributes

ffi::Map< ffi::String, ffi::Any > dict
 internal attrs map More...
 

Additional Inherited Members

- Static Public Attributes inherited from tvm::AttrsNode
static constexpr TVMFFISEqHashKind _type_s_eq_hash_kind = kTVMFFISEqHashKindTreeNode
 

Detailed Description

Specialized attribute type that is backed by a map. The DictAttrsNode implements the Attrs behavior, its fields are directly accessible via object.field_name like other normal nodes.

Member Function Documentation

◆ RegisterReflection()

static void tvm::DictAttrsNode::RegisterReflection ( )
inlinestatic

◆ TVM_FFI_DECLARE_OBJECT_INFO_FINAL()

tvm::DictAttrsNode::TVM_FFI_DECLARE_OBJECT_INFO_FINAL ( "ir.DictAttrs"  ,
DictAttrsNode  ,
AttrsNode   
)

Member Data Documentation

◆ dict

ffi::Map<ffi::String, ffi::Any> tvm::DictAttrsNode::dict

internal attrs map


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