In https://torchsparse-docs.github.io/reference/torchsparse.html#torchsparse.tensor.SparseTensor, it says:
coords – 2D integer tensor with of shape N x 4, where the first three dimensions correspond to quantized x, y, z coordinates, and the last dimension denotes the batch index.
However, when I checked the definition of sparse_collate() at line 27, torchsparse/utils/collate.py, it seems that the batch index should be the fist dimension of the batched SparseTensor. Also I checked the .F property of a SparseTensor in a torch.utils.data.DataLoader, it seems corresponding to the source code.
Is the description in the documentation wrong?
In https://torchsparse-docs.github.io/reference/torchsparse.html#torchsparse.tensor.SparseTensor, it says: coords – 2D integer tensor with of shape N x 4, where the first three dimensions correspond to quantized x, y, z coordinates, and the last dimension denotes the batch index. However, when I checked the definition of sparse_collate() at line 27, torchsparse/utils/collate.py, it seems that the batch index should be the fist dimension of the batched SparseTensor. Also I checked the .F property of a SparseTensor in a torch.utils.data.DataLoader, it seems corresponding to the source code. Is the description in the documentation wrong?