声明:以下内容来自CS20SI课程视频
一、Graphs and Sessions
1、Data Flow Graphs
TensorFlow separates definition of computations from their execution
Phase 1: assemble a graph
Phase 2: use a session to excute operations in the graph
二、What's a tensor
An n-dimensional matrix
0-d tensor: scalar(number)
1-d tensor: vector
2-d tensor: matrix
and so on