tvm
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
tvm::TargetKindAttrMap< ValueType > Class Template Reference

ffi::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
 
int count (const TargetKind &key) const
 Check if the map has op as key.
 
ValueType operator[] (const TargetKind &key) const
 get the corresponding value element at key.
 
ValueType get (const TargetKind &key, ValueType def_value) const
 get the corresponding value element at key with default value.
 

Additional Inherited Members

- Protected Attributes inherited from tvm::AttrRegistryMap< TargetKind, ValueType >
const AttrRegistryMapContainerMap< TargetKind > & map_
 The internal map field.
 

Detailed Description

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

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

Template Parameters
ValueTypeThe type of the value stored in map

Member Typedef Documentation

◆ TParent

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: