pytorch3d
pytorch3d copied to clipboard
Mesh extend should broadcast rather than duplicate
🚀 Feature
It is desirable for mesh extend to broadcast rather than duplicate the meshes.
Motivation
This can save a lot of memory and unnecessary duplication.
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
This isn't possible in general in the current design, because we always have one batch dimension. It could only work when the mesh has one batch element. For creating a Meshes with one mesh repeated, the user is free to supply broadcasted tensors, which will get some of the benefit this feature would bring.