tvm
Loading...
Searching...
No Matches
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 (ffi::ObjectPtr< TargetKindNode > data)
 
TargetKindNodeoperator-> ()
 Mutable access to the container class

 
 TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE (TargetKind, ffi::ObjectRef, TargetKindNode)
 

Static Public Member Functions

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

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 ( ffi::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  ,
ffi::ObjectRef  ,
TargetKindNode   
)

Friends And Related Symbol Documentation

◆ TargetInternal

friend class TargetInternal
friend

◆ TargetKindRegEntry


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