nestedtensor
nestedtensor copied to clipboard
[Prototype] Tools for the concurrent manipulation of variably sized Tensors.
[See](https://github.com/pytorch/nestedtensor/pull/35/files#diff-550bf0adbe042646464e9b7ac2c2773fR72)
One way to do this could be by porting our tests and test gen to pytest.
- exclude scalar case from get_max_size - update test cases for test_ntftm_test_multi_tensor_mix_mask3 (remove empty tensor) - use nested_size() instead of unbind() in get_max_size - look into getting rid of tolist()
See more info [here](https://github.com/pytorch/nestedtensor/issues/14).