TensorFlow preguntas y respuestas de entrevista
Question: What is the purpose of the tf.GradientTape in TensorFlow?Answer: tf.GradientTape is used for automatic differentiation in TensorFlow. It records operations for computing gradients, allowing you to calculate gradients with respect to variables.Example: x = tf.constant(3.0) with tf.GradientTape() as tape: tape.watch(x) y = x * x dy_dx = tape.gradient(y, x) |
Guardar para repaso
Guarda este elemento en marcadores, marcalo como dificil o agregalo a un conjunto de repaso.
Inicia sesion para guardar marcadores, preguntas dificiles y conjuntos de repaso.
Es util? Si No
Lo mas util segun los usuarios: