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

15 lines
401 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.AddN
===================
.. py:class:: mindspore.ops.AddN
逐元素将所有输入的Tensor相加。
更多参考详见 :func:`mindspore.ops.addn`
输入:
- **x** (Union(tuple[Tensor], list[Tensor])) - Tensor组成的tuple或list类型为bool型或数值型。
输出:
Tensor`x` 的每个Tensor具有相同的shape和数据类型。