How to identify the batch dimension? #9293
Answered
by
soraros
mattiasmar
asked this question in
Q&A
-
How can I in a programmatical way tell what dimension of a tensor represents the batch dimension? For example the linen Conv op, when defined like this: |
Beta Was this translation helpful? Give feedback.
Answered by
soraros
Jan 23, 2022
Replies: 1 comment
-
Maybe the Flax repo is the better place to ask about this. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mattiasmar
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Maybe the Flax repo is the better place to ask about this.
But in this particular case(
nn.Conv
), you might want to check out this comment.