tf.math.sqrt

Computes square root of x element-wise.

tf.math.sqrt(
    x, name=None
)

I.e., \(y = \sqrt{x} = x{1/2}\).

Args:

Returns:

A Tensor. Has the same type as x.

If x is a SparseTensor, returns SparseTensor(x.indices, tf.math.sqrt(x.values, ...), x.dense_shape)