I have noticed pytorch uses torch.Size
to represent, well, shapes of tensors. Should I use this over python native tuple to represent sizes? I wasn’t able to find a document for it, so I’m asking here.
I have noticed pytorch uses torch.Size
to represent, well, shapes of tensors. Should I use this over python native tuple to represent sizes? I wasn’t able to find a document for it, so I’m asking here.