You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

mindspore.ops.TensorShape.rst 360 B

4 years ago
4 years ago
123456789101112131415161718
  1. mindspore.ops.TensorShape
  2. ==========================
  3. .. py:class:: mindspore.ops.TensorShape
  4. 返回输入Tensor的Shape。
  5. **输入:**
  6. - **input_x** (Tensor) - 第一个输入,是一个Tensor类型数据。
  7. **输出:**
  8. Tensor,输入 `input_x` 的shape。
  9. **异常:**
  10. - **TypeError** - `input_x` 都不是Tensor。