Skip to main content

Core Tensorflow

tf_estimator to create, train and evaluate an ML model

  • Lazy Evaluation
  • Imperative programs
  • Work with graphs, sessions, and variables
  • Scalar numbers
  • Embeddings / Projectors
  • Visualize and debug tensorflow programs

TensorFlow is an open-source high-performance library for numerical computation that uses directed graphs

image

image

image

TensorFlow API Hierarchy

image

image

image

tf.eager allows you to execute operations imperatively

image

Graph and Session

image

image

image

image

image

image

image

image

image

image

image

image

image

Tensor and Variable

image

image

image

image

image

image

A variable is usually used to define a tensor whose values can change during the training process. However, placeholders are used as an empty spot that can be fed with proper values when a session is being processed.

For instance, when training a neural network, weights need to be defined as variable because they change during the training process. However, network inputs probably need to be defined as placeholders. This is because we may want to read the inputs from a file and later use it.

Debugging

image

image

image

image

image

image

image

image

image