tf.GradientTape

Record operations for automatic differentiation.

Used in the notebooks

Used in the guide Used in the tutorials

Operations are recorded if they are executed within this context manager and at least one of their inputs is being "watched".

Trainable variables (created by tf.Variable or