跳转至

Experimental(实验性 API) 模块

Experimental

Experimental 模块下均为实验性 API,其签名和位置在未来可能发生变动

ppsci.experimental.math

bessel_i0(x)

Zero-order modified Bézier curve functions of the first kind.

Parameters:

Name Type Description Default
x Tensor

Input data of the formula.

required

Examples:

>>> import paddle
>>> import ppsci
>>> res = ppsci.experimental.bessel_i0(paddle.to_tensor([0, 1, 2, 3, 4], dtype="float32"))
Source code in ppsci/experimental/math.py
def bessel_i0(x: paddle.Tensor) -> paddle.Tensor:
    """Zero-order modified Bézier curve functions of the first kind.

    Args:
        x (paddle.Tensor): Input data of the formula.

    Examples:
        >>> import paddle
        >>> import ppsci
        >>> res = ppsci.experimental.bessel_i0(paddle.to_tensor([0, 1, 2, 3, 4], dtype="float32"))
    """
    return paddle.i0(x)

bessel_i0e(x)

Exponentially scaled zero-order modified Bézier curve functions of the first kind.

Parameters:

Name Type Description Default
x Tensor

Input data of the formula.

required

Examples:

>>> import paddle
>>> import ppsci
>>> res = ppsci.experimental.bessel_i0e(paddle.to_tensor([0, 1, 2, 3, 4], dtype="float32"))
Source code in ppsci/experimental/math.py
def bessel_i0e(x: paddle.Tensor) -> paddle.Tensor:
    """Exponentially scaled zero-order modified Bézier curve functions of the first kind.

    Args:
        x (paddle.Tensor): Input data of the formula.

    Examples:
        >>> import paddle
        >>> import ppsci
        >>> res = ppsci.experimental.bessel_i0e(paddle.to_tensor([0, 1, 2, 3, 4], dtype="float32"))
    """
    return paddle.i0e(x)

bessel_i1(x)

First-order modified Bézier curve functions of the first kind.

Parameters:

Name Type Description Default
x Tensor

Input data of the formula.

required

Examples:

>>> import paddle
>>> import ppsci
>>> res = ppsci.experimental.bessel_i1(paddle.to_tensor([0, 1, 2, 3, 4], dtype="float32"))
Source code in ppsci/experimental/math.py
def bessel_i1(x: paddle.Tensor) -> paddle.Tensor:
    """First-order modified Bézier curve functions of the first kind.

    Args:
        x (paddle.Tensor): Input data of the formula.

    Examples:
        >>> import paddle
        >>> import ppsci
        >>> res = ppsci.experimental.bessel_i1(paddle.to_tensor([0, 1, 2, 3, 4], dtype="float32"))
    """
    return paddle.i1(x)

bessel_i1e(x)

Exponentially scaled first-order modified Bézier curve functions of the first kind.

Parameters:

Name Type Description Default
x Tensor

Input data of the formula.

required

Examples:

>>> import paddle
>>> import ppsci
>>> res = ppsci.experimental.bessel_i1e(paddle.to_tensor([0, 1, 2, 3, 4], dtype="float32"))
Source code in ppsci/experimental/math.py
def bessel_i1e(x: paddle.Tensor) -> paddle.Tensor:
    """Exponentially scaled first-order modified Bézier curve functions of the first kind.

    Args:
        x (paddle.Tensor): Input data of the formula.

    Examples:
        >>> import paddle
        >>> import ppsci
        >>> res = ppsci.experimental.bessel_i1e(paddle.to_tensor([0, 1, 2, 3, 4], dtype="float32"))
    """
    return paddle.i1e(x)

最后更新: November 17, 2023
创建日期: November 6, 2023