I have a variable called samples and when I do type(samples) it gives me <class 'util.misc.NestedTensor'>.
when I print it, it looks like a normal tensor, but when I do samples.shape it gives an error that *** AttributeError: 'NestedTensor' object has no attribute 'shape'
I guess my question is what is NestedTensor n pytorch and how I can get the shape of it?