In notebook 6, this line of code gives rise to this error: "RuntimeError: tf.gradients is not supported when eager execution is enabled. Use tf.GradientTape instead."