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

17 lines
674 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.Ger
==================
.. py:class:: mindspore.ops.Ger
计算两个一维Tensor的外积。即输入 `x1``x2` 的外积。如果 `x1` shape为 :math:`(m,)` `x2` shape为 :math:`(n,)`
那么输出就是一个shape为 :math:`(m, n)` 的Tensor。
更多参考详见 :func:`mindspore.ops.ger`
输入:
- **x1** (Tensor) - 输入1-D Tensor。
- **x2** (Tensor) - 输入1-D Tensor输入数据类型需和 `x1` 保持一致。
输出:
Tensor`x1` 数据类型相同的输出Tensor。如果 `x1` shape为 :math:`(m,)` `x2` shape为 :math:`(n,)` 则输出的shape为 :math:`(m, n)`