deep learning - Generating a *simple* TensorFlow graph illustration -
i'm working on first deep learning model using tensorflow in jupyter notebook, , generate simplified graphs illustrate various layers of network. specifically, graphs such pictured in this answer:
this simple , clean , can understand what's going on. more important capturing 100% of details. contrast graph generated tensorboard complete fustercluck:
how can take tf.graph object , automatically generate graph similar 1 above? bonus points if can displayed in jupyter notebook, too.
in short - cannot. tf low-level library, has no concept of "high level operations", has ops, , thing can visualise in way thinking about. in particular, math perspective there no "neurons" in graph, there tensors being multiplied each other, additional "semantics" there make easier humans talk this, not encoded in graph.
what can group nodes by yourself specifing variable_scope sections of graph, then, after displaying in tb displayed single node. not give "per-neuron-like" flavour of visualisation @ least hide many details. creating nice, visually appealing visualisations of neural nets "art" on own rights, , hard task in general.


Comments
Post a Comment