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

16 lines
692 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.RealDiv
=======================
.. py:class:: mindspore.ops.RealDiv
第一个输入Tensor元素为分子第二个输入Tensor元素为分母逐元素进行浮点型除法运算。
更多参考详见 :func:`mindspore.ops.div`
输入:
- **x** (Union[Tensor, Number, bool]) - 第一个输入为数值型或bool或数据类型为数值型或bool的Tensor。
- **y** (Union[Tensor, Number, bool]) - 第二个输入为数值型或bool或数据类型为数值型或bool的Tensor。
输出:
Tensor输出的shape与广播后的shape相同数据类型取两个输入中精度较高或数字较高的。