tvm
Public Member Functions | Static Public Member Functions | Friends | List of all members
tvm::TargetKind Class Reference

Managed reference class to TargetKindNode. More...

#include <target_kind.h>

Inheritance diagram for tvm::TargetKind:
Collaboration diagram for tvm::TargetKind:

Public Member Functions

 TargetKind ()=default
 
TargetKindNodeoperator-> ()
 Mutable access to the container class
More...
 
 TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS (TargetKind, ObjectRef, TargetKindNode)
 

Static Public Member Functions

template<typename ValueType >
static TargetKindAttrMap< ValueType > GetAttrMap (const String &attr_name)
 Get the attribute map given the attribute name. More...
 
static Optional< TargetKindGet (const String &target_kind_name)
 Retrieve the TargetKind given its name. More...
 

Friends

class TargetKindRegEntry
 
class TargetInternal
 

Detailed Description

Managed reference class to TargetKindNode.

See also
TargetKindNode

Constructor & Destructor Documentation

◆ TargetKind()

tvm::TargetKind::TargetKind ( )
default

Member Function Documentation

◆ Get()

static Optional<TargetKind> tvm::TargetKind::Get ( const String &  target_kind_name)
static

Retrieve the TargetKind given its name.

Parameters
target_kind_nameName of the target kind
Returns
The TargetKind requested

◆ GetAttrMap()

template<typename ValueType >
TargetKindAttrMap< ValueType > tvm::TargetKind::GetAttrMap ( const String &  attr_name)
inlinestatic

Get the attribute map given the attribute name.

◆ operator->()

TargetKindNode* tvm::TargetKind::operator-> ( )
inline

Mutable access to the container class

◆ TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS()

tvm::TargetKind::TVM_DEFINE_NOTNULLABLE_OBJECT_REF_METHODS ( TargetKind  ,
ObjectRef  ,
TargetKindNode   
)

Friends And Related Function Documentation

◆ TargetInternal

friend class TargetInternal
friend

◆ TargetKindRegEntry

friend class TargetKindRegEntry
friend

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