Darijan Gudelj
f34da3d3b6
packed_to_padded now accepts all sizes
...
Summary:
We need to make packing/unpacking in 2 places for mixed frame raysampling (metrics and raysampler) but those tensors that need to be unpacked/packed have more than two dimensions.
I could have reshaped and stored dimensions but this seems to just complicate code there with something which packed_to_padded should support.
I could have made a separate function for implicitron but it would confusing to have two different padded_to_packed functions inside pytorch3d codebase one of which does packing for (b, max) and (b, max, f) and the other for (b, max, …)
Reviewed By: bottler
Differential Revision: D39729026
fbshipit-source-id: 2bdebf290dcc6c316b7fe1aeee49bbb5255e508c
2022-09-22 11:27:43 -07:00
..
2022-08-28 11:43:46 -07:00
2022-08-31 16:50:41 -07:00
2022-09-22 08:36:09 -07:00
2022-05-25 06:16:03 -07:00
2022-01-04 11:43:38 -08:00
2022-05-26 05:33:03 -07:00
2022-08-31 13:04:07 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-08-31 13:50:50 -07:00
2022-05-26 14:56:22 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-09-21 06:16:48 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-08-22 04:26:19 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-01-04 11:43:38 -08:00
2022-05-25 06:16:03 -07:00
2022-08-31 11:47:51 -07:00
2022-05-25 06:16:03 -07:00
2022-09-22 11:27:43 -07:00
2022-07-14 09:50:39 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-08-02 04:32:32 -07:00
2022-08-31 16:50:41 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-08-31 16:50:41 -07:00
2022-08-02 04:32:32 -07:00
2022-08-31 16:50:41 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-08-31 13:04:07 -07:00
2022-07-22 14:36:22 -07:00
2022-05-25 06:16:03 -07:00
2022-08-31 13:04:07 -07:00
2022-06-01 08:47:26 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-06-29 09:30:37 -07:00
2022-05-25 06:16:03 -07:00
2022-05-25 06:16:03 -07:00
2022-08-18 08:12:33 -07:00
2020-01-23 11:53:46 -08:00