Tenncor
|
Use CSVEquation to render teq::TensptrT graph to output csv edges. More...
#include <teq_csv.hpp>
Classes | |
struct | Edge |
struct | Node |
Public Member Functions | |
CSVEquation (GetTypeF get_ftype=[](teq::iFunctor *func) { return FUNCTOR;}) | |
void | visit (teq::iLeaf *leaf) override |
Implementation of iTraveler. More... | |
void | visit (teq::iFunctor *func) override |
Implementation of iTraveler. More... | |
void | to_stream (std::ostream &out) |
Stream visited graphs to out. More... | |
![]() | |
virtual | ~iTraveler (void)=default |
Public Attributes | |
bool | showshape_ = false |
Print every tensor's shape if true, otherwise don't. More... | |
LabelsMapT | labels_ |
For every label associated with a tensor, show LABEL=value in the tree. More... | |
Private Attributes | |
std::vector< Edge > | edges_ |
std::unordered_map< teq::iTensor *, Node > | nodes_ |
std::unordered_map< teq::iCoordMap *, std::string > | coorders_ |
GetTypeF | get_ftype_ |
Use CSVEquation to render teq::TensptrT graph to output csv edges.
|
inline |
|
inline |
Stream visited graphs to out.
|
inlineoverridevirtual |
Implementation of iTraveler.
Implements teq::iTraveler.
|
inlineoverridevirtual |
Implementation of iTraveler.
Implements teq::iTraveler.
|
private |
|
private |
|
private |
LabelsMapT CSVEquation::labels_ |
For every label associated with a tensor, show LABEL=value in the tree.
|
private |
bool CSVEquation::showshape_ = false |
Print every tensor's shape if true, otherwise don't.