tvm
Namespaces | Functions
repr.h File Reference

ostream operator<< for ffi::ObjectRef, Any, and Variant, delegating to ffi::ReprPrint. Also re-exports the Dump() debug helpers. More...

#include <tvm/ffi/extra/dataclass.h>
#include <tvm/runtime/base.h>
#include <iostream>
Include dependency graph for repr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

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

Functions

void tvm::Dump (const ffi::ObjectRef &node)
 Dump the node to stderr, used for debug purposes. More...
 
void tvm::Dump (const ffi::Object *node)
 Dump the node to stderr, used for debug purposes. More...
 
std::ostream & tvm::ffi::operator<< (std::ostream &os, const ObjectRef &n)
 
std::ostream & tvm::ffi::operator<< (std::ostream &os, const Any &n)
 
template<typename... V>
std::ostream & tvm::ffi::operator<< (std::ostream &os, const ffi::Variant< V... > &n)
 

Detailed Description

ostream operator<< for ffi::ObjectRef, Any, and Variant, delegating to ffi::ReprPrint. Also re-exports the Dump() debug helpers.

Include this header wherever you need os << some_objectref and you are no longer pulling in the legacy repr_printer.h.