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

15 lines
386 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.Shape
====================
.. py:class:: mindspore.ops.Shape
返回输入Tensor的shape。
获取更多详情请查看 :func:`mindspore.ops.shape`
输入:
- **input_x** (Tensor) - Tensor的shape是 :math:`(x_1, x_2, ..., x_R)`
输出:
tuple[int]输出是由多个整数组成的tuple。 :math:`(x_1, x_2, ..., x_R)`