Category "jax"

Flax much slower than pure Jax for neural nentworks?

for a project I am trying to code up a very simple MLP example, but I noticed that the implementation in flax is about 20 times slower than the pure jax impleme

Differentiation of an improper integral using JAX and SciPy

I provide a simple code example of a failed attempt to use JAX to automatically differentiate through an improper integral function making use of SciPy's quad()