torch.tx.visualizeGraph
function visualizeGraph(graph: ExpressionGraph, options: VisualizeOptions = {}): stringRender a graph as ASCII art.
Uses a simple tree-based layout where the root is at the bottom and leaves (inputs) are at the top.
Parameters
graphExpressionGraphoptionsVisualizeOptionsoptional
Returns
string