.as_default() - Python for Integrated Circuits - - An Online Book - |
||||||||
Python for Integrated Circuits http://www.globalsino.com/ICs/ | ||||||||
Chapter/Index: Introduction | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | Appendix | ||||||||
================================================================================= In TensorFlow, we add nodes to the g graph using with g.as_default(). If we do not explicitly create a graph, there is always a default graph, and thus, all the nodes are added to the default graph. ============================================ Get shape by TensorFlow. Code: ============================================
|
||||||||
================================================================================= | ||||||||
|
||||||||