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.Inv
- =================
-
- .. py:class:: mindspore.ops.Inv()
-
- 按元素计算输入Tensor的倒数。
-
- .. math::
- out_i = \frac{1}{x_{i} }
-
- **输入:**
-
- **x** (Tensor) - 任意维度的Tensor。数据类型必须是float16、float32或int32。
-
- **输出:**
-
- Tensor,shape和数据类型与 `x` 相同。
-
- **异常:**
-
- - **TypeError** - `x` 不是Tensor。
- - **TypeError** - `x` 的数据类型不是float16、float32或int32。
|