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

14 lines
359 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.unbind
========================
.. py:function:: mindspore.ops.unbind(input, dim=0)
移除tensor的指定维度返回一个沿该维度所有切片的元组。
参数:
- **input** (Tensor) - 输入tensor。
- **dim** (int) - 指定维度。默认 ``0``
返回:
由多个tensor组成的tuple。