mindspore/docs/api/api_python/mindspore.ops.func_coo_sqrt...

20 lines
470 B
ReStructuredText
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.ops.coo_sqrt
=======================
.. py:function:: mindspore.ops.coo_sqrt(x: COOTensor)
逐元素返回当前COOTensor的平方根。
.. math::
out_{i} = \\coo_sqrt{x_{i}}
参数:
- **x** (COOTensor) - 输入COOTensor数据类型为number.Number其rank需要在[0, 7]范围内.
返回:
COOTensor具有与 `x` 相同的shape。
异常:
- **TypeError** - 如果 `x` 不是COOTensor。