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

29 lines
834 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.BesselK0
======================
.. py:class:: mindspore.ops.BesselK0
逐元素计算第二类零阶修正Bessel函数值。
计算公式定义如下:
.. math::
\begin{array}{ll} \\
K_{0}(x)= \lim_{\nu \to 0} \left(\frac{\pi}{2}\right) \frac
{I_{-\nu}(x)-I_{\nu}(x)}{\sin (\nu \pi)} = \int_{0}^{\infty} e^{-x \cosh t} d t
\end{array}
其中 :math:`I_{0}` 是第一类零阶修正Bessel函数。
.. warning::
这是一个实验性API后续可能修改或删除。
输入:
- **x** (Tensor) - 输入Tensor。数据类型应为float16、float32或float64。
输出:
Tensorshape和数据类型与 `x` 相同。
异常:
- **TypeError** - `x` 不是float16、float32或float64数据类型的Tensor。