tvm
Public Types | Public Member Functions | List of all members
tvm::TargetKindAttrMap< ValueType > Class Template Reference

Map<TargetKind, ValueType> used to store meta-information about TargetKind. More...

#include <target_kind.h>

Inheritance diagram for tvm::TargetKindAttrMap< ValueType >:
Collaboration diagram for tvm::TargetKindAttrMap< ValueType >:

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...
 

Detailed Description

template<typename ValueType>
class tvm::TargetKindAttrMap< ValueType >

Map<TargetKind, ValueType> used to store meta-information about TargetKind.

Template Parameters
ValueTypeThe type of the value stored in map

Member Typedef Documentation

◆ TParent

template<typename ValueType >
using tvm::TargetKindAttrMap< ValueType >::TParent = AttrRegistryMap<TargetKind, ValueType>

Constructor & Destructor Documentation

◆ TargetKindAttrMap()

template<typename ValueType >
tvm::TargetKindAttrMap< ValueType >::TargetKindAttrMap ( const AttrRegistryMapContainerMap< TargetKind > &  map)
inlineexplicit

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