mindspore/docs/api/api_python/ops/mindspore.ops.func_xdivy.rst

19 lines
546 B
ReStructuredText
Raw Permalink 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.xdivy
====================
.. py:function:: mindspore.ops.xdivy(x, y)
`x``y` 逐元素相除。
.. note::
- 支持广播,支持隐式类型转换、类型提升。
-`x``y` 的数据类型都为复数时必须同时为complex64或complex128。
- `x``y` 不能同时为bool类型。
参数:
- **x** (Union[Tensor, Number, bool]) - 被除数(分子)。
- **y** (Union[Tensor, Number, bool]) - 除数(分母)。
返回:
Tensor