Class TargetKind#

Inheritance Relationships#

Base Type#

  • public ffi::ObjectRef

Class Documentation#

class TargetKind : public ffi::ObjectRef#

Managed reference class to TargetKindObj.

See also

TargetKindObj

Public Types

using ContainerType = TargetKindObj#

Public Functions

inline explicit TargetKind(ffi::ObjectPtr<TargetKindObj> data)#
inline TargetKindObj *operator->()#

Mutable access to the container class.

inline explicit TargetKind(::tvm::ffi::UnsafeInit tag)#
inline __PtrType operator->() const#
inline __PtrType get() const#

Public Static Functions

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

Retrieve the TargetKind given its name.

Parameters:

target_kind_name – Name of the target kind

Returns:

The canonical kind, or nullopt when the name is unknown.