50% off: Unlimited data and AI learning.
The Learning Leader's Guide to AI Literacy

torch (version 0.8.1)

torch_i0: I0

Description

I0

Usage

torch_i0(self)

Arguments

self

(Tensor) the input tensor

i0(input, *, out=None) -> Tensor

Computes the zeroth order modified Bessel function of the first kind for each element of input.

outi=I0(inputi)=k=0(inputi2/4)k(k!)2

Examples

Run this code
if (torch_is_installed()) {

torch_i0(torch_arange(start = 0, end = 5, dtype=torch_float32()))
}

Run the code above in your browser using DataLab