tensorflow inner functions supports the Bessel function BesselI tensorflow besseli0.
However, it does not have BesselJ functions (especially BesselJ[2,x]).
If I were to approximate this function, I would have to use If
in tensorflow, which is not efficient.
Does tensorflow have any replacement or any other methods that can be recommended?
After many searches, I found a just-satisfactory solution:
This is not very fast, though.