Class TargetKind#
Defined in File target_kind.h
Inheritance Relationships#
Base Type#
public ffi::ObjectRef
Class Documentation#
-
class TargetKind : public ffi::ObjectRef#
Managed reference class to TargetKindObj.
See also
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.
-
using ContainerType = TargetKindObj#