i1e¶
- paddle. i1e ( x: Tensor, name: str | None = None ) Tensor [source]
-
The function is used to calculate exponentially scaled modified Bessel function of order 1.
- Parameters
-
x (Tensor) – The input tensor, it’s data type should be float32, float64, uint8, int8, int16, int32, int64.
name (str|None, optional) – For details, please refer to Name. Generally, no setting is required. Default: None.
- Returns
-
-
- out (Tensor), A Tensor. the value of the exponentially scaled modified Bessel function of order 1 at x
-
(integer types are autocasted into float32).
-
Examples
>>> import paddle >>> x = paddle.to_tensor([0, 1, 2, 3, 4], dtype="float32") >>> print(paddle.i1e(x)) Tensor(shape=[5], dtype=float32, place=Place(cpu), stop_gradient=True, [0. , 0.20791042, 0.21526928, 0.19682673, 0.17875087])