TensorFlow perguntas e respostas 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) |
Salvar para revisao
Adicione este item aos favoritos, marque-o como dificil ou coloque-o em um conjunto de revisao.
Faca login para salvar favoritos, perguntas dificeis e conjuntos de revisao.
Isto e util? Sim Nao
Mais uteis segundo os usuarios: