Skip to content
Discussion options

You must be logged in to vote

Try the following as my_function is unary:

vmap(my_function, in_axes=((None, 0),))(tup)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by AlejandroTL
Comment options

You must be logged in to vote
4 replies
@AlejandroTL
Comment options

@soraros
Comment options

@NeilGirdhar
Comment options

@AlejandroTL
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants