You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

mindspore.ops.Sqrt.rst 427 B

123456789101112131415161718192021
  1. mindspore.ops.Sqrt
  2. ===================
  3. .. py:class:: mindspore.ops.Sqrt
  4. 计算输入Tensor的平方根。
  5. .. math::
  6. out_{i} = \sqrt{x_{i}}
  7. **输入:**
  8. - **x** (Tensor) - Sqrt的输入,任意维度的Tensor,其秩应小于8,数据类型为Number。
  9. **输出:**
  10. Tensor,shape和数据类型与输入 `x` 相同。
  11. **异常:**
  12. - **TypeError** - `x` 不是Tensor。