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

27 lines
769 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.BesselJ0
======================
.. py:class:: mindspore.ops.BesselJ0
逐元素计算输入数据的第一类零阶的Bessel函数。
计算公式定义如下:
.. math::
\begin{array}{ll} \\
J_{0}(x) = \frac{1}{\pi} \int_{0}^{\pi} \cos (x \sin \theta) d \theta
=\sum_{m=0}^{\infty} \frac{(-1)^{m} x^{2 m}}{2^{2 m} (m !)^2}
\end{array}
.. warning::
这是一个实验性API后续可能修改或删除。
输入:
- **x** (Tensor) - 输入Tensor。数据类型应为float16、float32或float64。
输出:
Tensorshape和数据类型与 `x` 相同。
异常:
- **TypeError** - `x` 不是float16、float32或float64数据类型的Tensor。