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.Identity.rst 425 B

123456789101112131415161718
  1. mindspore.ops.Identity
  2. =======================
  3. .. py:class:: mindspore.ops.Identity
  4. 返回与输入具有相同shape和值的Tensor。
  5. **输入:**
  6. - **x** (Tensor) - shape为 :math:`(x_1, x_2, ..., x_R)` 的Tensor。数据类型为Number。
  7. **输出:**
  8. Tensor,shape和数据类型与输入相同, :math:`(x_1, x_2, ..., x_R)` 。
  9. **异常:**
  10. - **TypeError** - `x` 不是Tensor。