Use PrettyTree to render teq::TensptrT graph as an ascii art.
More...
#include <teq.hpp>
Use PrettyTree to render teq::TensptrT graph as an ascii art.
◆ PrettyEquation()
PrettyEquation::PrettyEquation |
( |
void |
| ) |
|
|
inline |
◆ print() [1/2]
void PrettyEquation::print |
( |
std::ostream & |
out, |
|
|
const teq::TensptrT & |
ptr |
|
) |
| |
|
inline |
Stream equation of ptr to out.
◆ print() [2/2]
void PrettyEquation::print |
( |
std::ostream & |
out, |
|
|
teq::iTensor * |
ptr |
|
) |
| |
|
inline |
Stream equation of raw ptr to out.
◆ drawer_
◆ labels_
For every label associated with a tensor, show LABEL=value in the tree.
◆ showshape_
bool PrettyEquation::showshape_ = false |
Print every tensor's shape if true, otherwise don't.
The documentation for this struct was generated from the following file: