Skip to content

A simple graphviz wrapper to visualize a graph like TensorFlow & TensorBoard

Notifications You must be signed in to change notification settings

bolau/tfgraphviz

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tfgraphviz

A simple graphviz wrapper to visualize a graph like TensorFlow and TensorBoard

tfgraphviz is a module to create a TensorBoard-ish graph in the DOT language of the Graphviz. tfgraphviz provides a visualization of tensorflow graph on Jupyter Notebook without TensorBoard.

Links

Installation

Use pip to install:

$ pip install tfgraphviz

The only dependency is Graphviz.

Quickstart

import tensorflow as tf
import tfgraphviz as tfg
a = tf.constant(1, name="a")
b = tf.constant(2, name="b")
c = tf.add(a, b, name="add")
g = tfg.board(tf.get_default_graph())
g.view()

https://raw.githubusercontent.com/akimach/tfgraphviz/master/img/graph.jpg

License

This package is distributed under the MIT license.

Author

Akimasa KIMURA

About

A simple graphviz wrapper to visualize a graph like TensorFlow & TensorBoard

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%