Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.26 KB

overview.md

File metadata and controls

33 lines (24 loc) · 1.26 KB

TensorFLow is an open source software library for numerical computation using data flow graphs.

The overview of a similar graph of a three-layer neural network in TensorFlow shows below. Nodes in the graph represent mathermatical operations, while the graph edges represent the multidimensional data arrays(tensors) communicated between them.

image

static graph vs dynamic graph

  • static graph: you define graph statically before a model can run. All communication with outer world is performed via tf.Session object and tf.Placeholder
  • dynamic graph: you can define, change and execute nodes as you go, no special session interfaces or placeholders.

Why Tensorflow

For production:

  • efficient
  • Scalability

For research:

  • Flexibility

Other reasons:

  • Popularity

Basic elements:

  • graph
  • session
  • tensor
  • operation

Phases

  • Phase 1: assemble a graph
  • Phase 2: use a session to execute operations in the graph