Skip to main content

A visualization tool to show a graph like TensorFlow and TensorBoard

Project description

GitHub license

tfgraphviz is a module to visualize a TensorFlow’s data flow graph like TensorBoard using Graphviz. tfgraphviz enables to provide a visualization of tensorflow graph on Jupyter Notebook without TensorBoard.


Use pip to install:

$ pip install graphviz
$ pip install tfgraphviz

The only dependency is Graphviz.


$ brew install graphviz


$ apt-get install graphviz


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())


This package is distributed under the MIT license.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tfgraphviz, version 0.0.7
Filename, size File type Python version Upload date Hashes
Filename, size tfgraphviz-0.0.7.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page