tf.raw_ops.RsqrtGrad
Вычисляет градиент для rsqrt от x по отношению к его входному значению.
tf.raw_ops.RsqrtGrad(
y, dy, name=None
)
Конкретно, grad = dy * -0.5 * y^3, где y = rsqrt(x), и dy — соответствующий градиент входа.
| Аргументы | |
|---|---|
y | A Tensor. Должен быть одним из следующих типов: bfloat16, half, float32, float64, complex64, complex128. |
dy | A Tensor. Должен иметь тот же тип, что и y. |
name | Имя операции (необязательно). |
| Возвращаемое значение | |
|---|---|
A Tensor. Имеет тот же тип, что и y. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/raw_ops/RsqrtGrad