Category "jax"

Multiple `vmap` in JAX?

This may me a very simple thing, but I was wondering how to perform mapping in the following example. Suppose we have a function that we want to evaluate deriva

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()