Scatter operations such as scatter_max vs to_dense_batch #8465
Unanswered
jomalla123
asked this question in
Q&A
Replies: 1 comment
-
Yes, I recommend to use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have to do multiple operations over a batch of graphs with different sizes, e.g. calculate the max.
After seeing #4488, I implemented it like this:
Is this the right approach? There is also torch_scatter.scatter_max which would achieve the same thing but with converting to a dense batch. Would this be more efficient in general?
Beta Was this translation helpful? Give feedback.
All reactions