mindspore2022/docs/api/api_python/ops/mindspore.ops.TensorShape.rst

19 lines
360 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.TensorShape
==========================
.. py:class:: mindspore.ops.TensorShape
返回输入Tensor的Shape。
**输入:**
- **input_x** (Tensor) - 第一个输入是一个Tensor类型数据。
**输出:**
Tensor输入 `input_x` 的shape。
**异常:**
- **TypeError** - `input_x` 都不是Tensor。