sqrt

dragon.vm.tensorflow.math.sqrt(
  x,
  name=None
)[source]

Compute the square root of input.

\[\text{out} = \sqrt{\text{input}} \]

Examples:

x = tf.constant([4., 9., 16.])
print(tf.math.sqrt(x))  # [2., 3., 4.]
Parameters:
  • x (dragon.Tensor) The input tensor.
  • name (str, optional) The operation name.
Returns:

dragon.Tensor The output tensor.