Is there a Reduce layer? #126
Answered
by
arogozhnikov
breuderink
asked this question in
Q&A
-
The API documentation states that there are three operations (rearrange, reduce, repeat), and two corresponding layers for different framework. Now I would like to use a Repeat layer in PyTorch. What are my options? |
Beta Was this translation helpful? Give feedback.
Answered by
arogozhnikov
Jul 15, 2021
Replies: 1 comment 2 replies
-
did you mean "is there Repeat layer?". No, there is no such. In all cases I'm aware about broadcasting with Rearrange layer covers the need for Repeat. Can you describe a case when you need one? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
arogozhnikov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
did you mean "is there Repeat layer?". No, there is no such. In all cases I'm aware about broadcasting with Rearrange layer covers the need for Repeat. Can you describe a case when you need one?