tvm
Namespaces | Functions
doc_printer.h File Reference
#include <tvm/script/printer/doc.h>
Include dependency graph for doc_printer.h:

Go to the source code of this file.

Namespaces

 tvm
 runtime implementation for LibTorch/TorchScript.
 
 tvm::script
 
 tvm::script::printer
 

Functions

String tvm::script::printer::DocToPythonScript (Doc doc, int indent_spaces=4, bool print_line_numbers=false, int num_context_lines=-1, Optional< ObjectPath > path_to_underline=NullOpt)
 Convert Doc into Python script. More...