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