Hi Yedidya!
If I understand what you want to do, I believe that @AlphaBetaGamma96’s post that uses vmap() and jacrev() will give you your “batch jacobian:”
vmap()
jacrev()
Best.
K. Frank