mindspore/docs/api/api_python/ops/mindspore.ops.func_digamma.rst

23 lines
584 B
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.ops.digamma
=====================
.. py:function:: mindspore.ops.digamma(x)
计算gamma对数函数在输入上的梯度。
.. math::
P(x) = grad(In(gamma(x)))
.. warning::
这是一个实验性接口,后续可能删除或修改。
参数:
- **x** (Tensor) - 输入Tensor数据类型是float16float32或float64。
返回:
Tensor数据类型和 `x` 一样。
异常:
- **TypeError** - `x` 不是Tensor。
- **TypeError** - `x` 的数据类型不是float16float32或float64。