Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
1 answer
988 views

What is the correct way to define a vectorized (jax.vmap) function in a class?

I want to add a function, which is vectorized by jax.vmap, as a class method. However, I am not sure where to define this function within the class. My main goal is to avoid, that the function is ...
yuki's user avatar
  • 775