15 lines
386 B
ReStructuredText
15 lines
386 B
ReStructuredText
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)` 。
|