HomePhabricator

Add pass generate per block in a function a GraphViz Dot graph with ops as nodes

Authored by jpienaar on Sep 9 2019, 6:12 PM.

Description

Add pass generate per block in a function a GraphViz Dot graph with ops as nodes

  • Add GraphTraits that treat a block as a graph, Operation* as node and use-relationship for edges;
    • Just basic graph output;
  • Add use iterator to iterate over all uses of an Operation;
  • Add testing pass to generate op graph;

This does not support arbitrary operations other than function nor nested regions yet.

PiperOrigin-RevId: 268121782

Details

Committed
A. Unique TensorFlower <gardener@tensorflow.org>Sep 9 2019, 6:12 PM
Parents
rGf4ae4762bf7d: Add quant.const_fake_quant_per_axis op
Branches
Unknown
Tags
Unknown

Event Timeline