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
 
 TargetKind (ObjectPtr< TargetKindNode > data)
 
TargetKindNodeoperator-> ()
 Mutable access to the container class
More...
 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (TargetKind, ObjectRef, TargetKindNode)
 

Static Public Member Functions

template<typename ValueType >
static TargetKindAttrMap< ValueType > GetAttrMap (const ffi::String &attr_name)
 Get the attribute map given the attribute name. More...
 
static ffi::Optional< TargetKindGet (const ffi::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() [1/2]

tvm::TargetKind::TargetKind ( )
default

◆ TargetKind() [2/2]

tvm::TargetKind::TargetKind ( ObjectPtr< TargetKindNode data)
inlineexplicit

Member Function Documentation

◆ Get()

static ffi::Optional<TargetKind> tvm::TargetKind::Get ( const ffi::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 ffi::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_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()

tvm::TargetKind::TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE ( 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: