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

20 lines
558 B
ReStructuredText
Raw Permalink 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.zeta
===================
.. py:function:: mindspore.ops.zeta(input, other)
逐元素计算Hurwitz zeta的值。
.. math::
\zeta(x, q) = \sum_{k=0}^{\infty} \frac{1}{(k + q)^x}
.. warning::
这是一个实验性API后续可能修改或删除。
参数:
- **input** (Union[Tensor, int, float]) - 第一个输入tensor。在公式中表示为 :math:`x`
- **other** (Union[Tensor, int, float]) - 第二个输入tensor。在公式中表示为 :math:`q`
返回:
Tensor