|
tvm
|
ffi::Map<TargetKind, ValueType> used to store meta-information about TargetKind More...
#include <target_kind.h>
Public Types | |
| using | TParent = AttrRegistryMap< TargetKind, ValueType > |
Public Member Functions | |
| TargetKindAttrMap (const AttrRegistryMapContainerMap< TargetKind > &map) | |
Public Member Functions inherited from tvm::AttrRegistryMap< TargetKind, ValueType > | |
| AttrRegistryMap (const AttrRegistryMapContainerMap< TargetKind > &map) | |
| constructor More... | |
| int | count (const TargetKind &key) const |
| Check if the map has op as key. More... | |
| ValueType | operator[] (const TargetKind &key) const |
| get the corresponding value element at key. More... | |
| ValueType | get (const TargetKind &key, ValueType def_value) const |
| get the corresponding value element at key with default value. More... | |
Additional Inherited Members | |
Protected Attributes inherited from tvm::AttrRegistryMap< TargetKind, ValueType > | |
| const AttrRegistryMapContainerMap< TargetKind > & | map_ |
| The internal map field. More... | |
ffi::Map<TargetKind, ValueType> used to store meta-information about TargetKind
| ValueType | The type of the value stored in map |
| using tvm::TargetKindAttrMap< ValueType >::TParent = AttrRegistryMap<TargetKind, ValueType> |
|
inlineexplicit |