1. 程式人生 > >tensorflow學習

tensorflow學習

method com ons type value val internal graph one

Q: What is Computational Graph?
A: Computational Graph is a series of Tensorflow operations arranged into a graph of nodes.

Q: How to building the Computational Graph?
A: Each Node takes zeros or more tensors as inputs and produces a tensor as an output.
One type of Node is a constant. Like all tensorflow constants, it takes no inputs, and it outputs a value it stores internally.

Q: How to run the computational graph?
A: Using "Session" object the invoking the run method to run enough of the computational graph

Q: How to Display the picture of the computational graph?
A: Tensorflow provides a utility called TensorBoard that can display a picture of the computational graph.

tensorflow學習