Was this section helpful?
tf.GradientTape
for automatic differentiation, which is a fundamental mechanism for computing gradients in any custom training loop.@tf.function
to optimize TensorFlow code for performance, an important consideration when implementing custom training steps.