Skip to content
Discussion options

You must be logged in to vote

If your points are all of the same size, simply reshaping is sufficient:

x = x.view(batch_size, num_nodes, 3)

Otherwise, take a look at utils.to_dense_batch, which will do the same with some padding logic.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@anticdimi
Comment options

@rusty1s
Comment options

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