Class SourceName#
Defined in File location.h
Inheritance Relationships#
Base Type#
public ffi::ObjectRef
Class Documentation#
-
class SourceName : public ffi::ObjectRef#
The source name of a file loc.
See also
Public Types
-
using ContainerType = SourceNameObj#
Public Functions
-
inline explicit SourceName(ffi::UnsafeInit tag, ffi::ObjectPtr<SourceNameObj> n)#
-
inline explicit SourceName(::tvm::ffi::UnsafeInit tag)#
-
inline __PtrType operator->() const#
-
inline __PtrType get() const#
Public Static Functions
-
static SourceName Get(const ffi::String &name)#
Get an SourceName for a given operator name. Will raise an error if the source name has not been registered.
- Parameters:
name – Name of the operator.
- Returns:
SourceName valid throughout program lifetime.
-
using ContainerType = SourceNameObj#