Class Target#
Defined in File target.h
Inheritance Relationships#
Base Type#
public ffi::ObjectRef
Class Documentation#
-
class Target : public ffi::ObjectRef#
Managed reference class to TargetObj.
See also
Public Functions
-
explicit Target(const ffi::String &tag_or_config_or_target_str)#
Construct a Target given a string.
- Parameters:
tag_or_config_or_target_str – the string to parse for target
-
explicit Target(const ffi::Map<ffi::String, ffi::Any> &config)#
Construct a Target using a JSON-like configuration.
- Parameters:
config – The JSON-like configuration for target
-
inline explicit Target(Target target, ffi::Optional<Target> host)#
Construct a Target given target and host.
-
inline explicit Target(::tvm::ffi::UnsafeInit tag)#
-
inline __PtrType operator->() const#
-
inline __PtrType get() const#
-
explicit Target(const ffi::String &tag_or_config_or_target_str)#