## Automatic differentiation and gradient tape

In the previous tutorial we introduced Tensors and operations on them. In this tutorial we will cover automatic differentiation, a key technique for optimizing machine learning models. Setup import tensorflow as tf tf.enable_eager_execution() tfe = tf.contrib.eager # Shorthand for some symbols Derivatives of a function TensorFlow provides APIs for automatic differentiation – computing the derivative…