2.5K Star 8.4K Fork 4.7K

GVPMindSpore/mindspore

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mindspore.ops.Reciprocal.rst 360 Bytes
一键复制 编辑 原始数据 按行查看 历史
李林杰 提交于 2023-06-05 14:23 . review op param constraint

mindspore.ops.Reciprocal

.. py:class:: mindspore.ops.Reciprocal

    返回输入Tensor的倒数。

    .. math::
        out_{i} =  \frac{1}{x_{i}}

    输入:
        - **x** (Tensor) - 输入Tensor。

    输出:
        Tensor,shape与 `x` 相同。

    异常:
        - **TypeError** - 如果 `x` 不是Tensor。
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/mindspore/mindspore.git
git@gitee.com:mindspore/mindspore.git
mindspore
mindspore
mindspore
r2.3.q1

搜索帮助