The source name of a file span.
More...
#include <source_map.h>
|
static SourceName | Get (const String &name) |
| Get an SourceName for a given operator name. Will raise an error if the source name has not been registered. More...
|
|
The source name of a file span.
- See also
- SourceNameNode, Span
◆ Get()
static SourceName tvm::SourceName::Get |
( |
const String & |
name | ) |
|
|
static |
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_DEFINE_OBJECT_REF_METHODS()
The documentation for this class was generated from the following file: