tvm
Loading...
Searching...
No Matches
Namespaces | Functions
printer.h File Reference

TVMScript text entry points. More...

#include <tvm/ffi/container/map.h>
#include <tvm/ffi/optional.h>
#include <tvm/script/printer/config.h>
#include <optional>
#include <string>
Include dependency graph for printer.h:

Go to the source code of this file.

Namespaces

namespace  tvm
 An object that builds and maintains block scope and StmtSref mapping for Dependence analysis.
 
namespace  tvm::script
 
namespace  tvm::script::printer
 

Functions

TVM_TIRX_DLL std::string tvm::Script (const ffi::ObjectRef &node, const ffi::Optional< PrinterConfig > &config=std::nullopt)
 Print an IR object as TVMScript, using repr when no translation hook exists.
 
TVM_TIRX_DLL void tvm::script::printer::RegisterNamespaceAlias (const ffi::String &key, const ffi::String &default_alias)
 Register a namespace alias during dialect static initialization.
 
TVM_TIRX_DLL const ffi::Map< ffi::String, ffi::String > & tvm::script::printer::GetNamespaceAliases ()
 Read the registered namespace aliases.
 

Detailed Description

TVMScript text entry points.