mindspore/docs/api/api_python/numpy/mindspore.numpy.kron.rst

19 lines
478 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.numpy.kron
====================
.. py:function:: mindspore.numpy.kron(a, b)
两个数组的Kronecker积。
计算Kronecker积即先将第二个数组分块然后使用第一个数组缩放后组成的复合数组。
.. note::
不支持bool值。
参数:
- **a** (Union[int, float, list, tuple, Tensor]) - 输入值。
- **b** (Union[int, float, list, tuple, Tensor]) - 输入值。
返回:
Tensor。