sqrt

dragon.math.sqrt(
  inputs,
  **kwargs
)[source]

Compute the square root of input.

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

Examples:

x = dragon.constant([4., 9., 16.])
print(dragon.math.sqrt(x))  # [2., 3., 4.]
Parameters:
Returns:

dragon.Tensor The output tensor.