In my code, I write:
patches_list.contiguous()
print(patches_list.is_contiguous())

But the output is:
“False”
In particular, patches_list is a very big torch and my GPU memory is only 4G. I guess the possible reason is that the method can’t find a contiguous GPU memory to store it. But in fact, I never received any error. It makes me confused.