"No one is harder on a talented person than the person themselves" - Linda Wilkinson ; "Trust your guts and don't follow the herd" ; "Validate direction not destination" ;

August 23, 2018

Day #120 - Tensorflow

Tensor (N-Dimensional array of data)
  • High Performance Library for Numerical Computation
  • Represented as Directed Graphs
  • DAG (Directed Acyclic Graphs)
  • Edges - Arrays of Data
DAG
  • Language independent version of representation
  • Similar to JVM
  • Tensorflow engine written in C++
  • Tensorflow Lite - On device interference of ML Models
API Hierarchy
  • Number of abstraction layers
  • High Level API -> tf.estimator
  • tf.layers, tf.losses, tf.metrics -> Custom NN Models
  • Core Tensorflow Python
  • Core Tensorflow C++
  • CPU / GPU / TPU / Android
Execution
  • Code
  • Tensors Definition
  • Creates DAG
  • Run DAG in Session
  • Lazy Evaluation model (minimize context switches)
Graph and Session
  • Explicit edges to represent dependencies
  • Helps to partition and run parallel pieces

 

Happy Learning!!!

No comments: