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.Round.rst 383 B

123456789101112131415161718192021
  1. mindspore.ops.Round
  2. ====================
  3. .. py:class:: mindspore.ops.Round
  4. 对输入数据进行四舍五入到最接近的整数数值。
  5. .. math::
  6. out_i \approx x_i
  7. **输入:**
  8. - **x** (Tensor) - 输入Tensor。
  9. **输出:**
  10. Tensor,shape和数据类型与输入 `x` 相同。
  11. **异常:**
  12. - **TypeError** - `x` 不是Tensor。