Function tvm::Script#
Defined in File printer.h
Function Documentation#
-
ffi::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.
- Parameters:
node – The input IR object.
config – Optional translation and rendering configuration.
- Returns:
The rendered script or fallback representation.