|
tvm
|
A printer class to print the AST/IR nodes. More...
#include <repr_printer.h>
Public Types | |
| using | FType = NodeFunctor< void(const ObjectRef &, ReprPrinter *)> |
Public Member Functions | |
| ReprPrinter (std::ostream &stream) | |
| void | Print (const ObjectRef &node) |
| The node to be printed. More... | |
| void | PrintIndent () |
| Print indent to the stream. More... | |
Static Public Member Functions | |
| static FType & | vtable () |
Public Attributes | |
| std::ostream & | stream |
| The output stream. More... | |
| int | indent {0} |
| The indentation level. More... | |
A printer class to print the AST/IR nodes.
| using tvm::ReprPrinter::FType = NodeFunctor<void(const ObjectRef&, ReprPrinter*)> |
|
inlineexplicit |
| void tvm::ReprPrinter::Print | ( | const ObjectRef & | node | ) |
The node to be printed.
| void tvm::ReprPrinter::PrintIndent | ( | ) |
Print indent to the stream.
|
static |
| int tvm::ReprPrinter::indent {0} |
The indentation level.
| std::ostream& tvm::ReprPrinter::stream |
The output stream.
1.8.13