A visualization tool to show a graph like TensorFlow and TensorBoard
Project description
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.
Links
Installation
Use pip to install:
$ pip install graphviz
$ pip install tfgraphviz
The only dependency is Graphviz.
macOS:
$ brew install graphviz
Ubuntu:
$ apt-get install graphviz
Quickstart
import tensorflow as tf
import tfgraphviz as tfg
g = tf.Graph()
with g.as_default():
a = tf.constant(1, name="a")
b = tf.constant(2, name="b")
c = tf.add(a, b, name="add")
tfg.board(g)
License
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.
Source Distribution
tfgraphviz-0.0.8.tar.gz
(5.4 kB
view details)
Built Distribution
File details
Details for the file tfgraphviz-0.0.8.tar.gz
.
File metadata
- Download URL: tfgraphviz-0.0.8.tar.gz
- Upload date:
- Size: 5.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b89abd4aafe90a46a7c0889ff01a48027b1b3165abfc7c32597362327f52148e |
|
MD5 | e7e6be37f73f023be8839159d744aa41 |
|
BLAKE2b-256 | 332f953c68ee5e0f14058a8e8934b63f597867d0567665714ed0d19f1e37ceac |
File details
Details for the file tfgraphviz-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: tfgraphviz-0.0.8-py3-none-any.whl
- Upload date:
- Size: 6.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.6.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dedee847db535ee13a3acd3f708ec5ddda32022e349dfa4896212643d1f6abeb |
|
MD5 | 961274b4b399f51bb117787e7d0d0fe5 |
|
BLAKE2b-256 | a6fc6e8fdfde5af6fd4a730054c9c683ea2bad3c23b25c0aa9bd5b6d8b8e4b5f |