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

22 lines
702 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.Cross
====================
.. py:class:: mindspore.ops.Cross(dim=-65530)
返回 `input``other` 沿着维度 `dim` 上的向量积(叉积)。
.. warning::
这是一个实验性API后续可能修改或删除。
更多参考详见 :func:`mindspore.ops.cross`
参数:
- **dim** (int可选) - 沿着此维进行叉积操作。默认值: ``-65530``
输入:
- **input** (Tensor) - 输入Tensor。
- **other** (Tensor) - 另一个输入Tensor数据类型和shape必须和 `input` 一致,并且他们的 `dim` 维度的长度应该为3。
输出:
Tensor数据类型与输入相同。