Computes reciprocal of square root of the input tf.Tensor element-wise: y = 1 / sqrt(x)
tf.Tensor
y = 1 / sqrt(x)
const x = tf.tensor1d([1, 2, 4, -1]);x.rsqrt().print(); // or tf.rsqrt(x) Copy
const x = tf.tensor1d([1, 2, 4, -1]);x.rsqrt().print(); // or tf.rsqrt(x)
The input tensor.
Generated using TypeDoc
Computes reciprocal of square root of the input
tf.Tensor
element-wise:y = 1 / sqrt(x)