The source name of a file loc.
More...
#include <location.h>
The source name of a file loc.
- See also
- SourceNameNode, Location
◆ SourceName()
| tvm::SourceName::SourceName |
( |
ffi::UnsafeInit |
tag, |
|
|
ffi::ObjectPtr< SourceNameNode > |
n |
|
) |
| |
|
inlineexplicit |
◆ Get()
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.
◆ TVM_FFI_DEFINE_OBJECT_REF_METHODS_NOTNULLABLE()
The documentation for this class was generated from the following file: