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.Floor
- ====================
-
- .. py:class:: mindspore.ops.Floor
-
- 向下取整函数。
-
- .. math::
- out_i = \lfloor x_i \rfloor
-
- **输入:**
-
- - **x** (Tensor) - Floor的输入,任意维度的Tensor,秩应小于8。其数据类型必须为float16、float32。
-
- **输出:**
-
- Tensor,shape与 `x` 相同。
-
- **异常:**
-
- - **TypeError** - `x` 的数据类型不是Tensor。
- - **TypeError** - `x` 的数据类型不是float16、float32、float64。
|