Function tvm::script::printer::RedirectReprPrinterMethod

Function tvm::script::printer::RedirectReprPrinterMethod#

Function Documentation#

ffi::String tvm::script::printer::RedirectReprPrinterMethod(const ffi::ObjectRef &obj)#

Render an IR object for its registered repr callback.

Tries to translate obj directly; on error falls back to a plain address string. Defined in src/script/printer/printer.cc so that <tvm/runtime/logging.h> is not pulled into this public header.