Reproduce n-ary `vmap` from unary
10:32 13 Aug 2026

Is it possible to express n-ary vmap, where a function is mapped over a common dimension of multiple args (e.g. ([a], [b]) -> [c] becomes ([n, a], [n, b]) -> [n, c]), purely in terms of unary vmap (i.e. the above with one argument).

Why do I want this? I'm writing a similar API in another language, and I'm considering tradeoffs in API design.

python jax