|TensorFlow 1 version||View source on GitHub|
Record operations for automatic differentiation.
See Migration guide for more details.
tf.GradientTape( persistent=False, watch_accessed_variables=True )
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