Suppose I have a tensor A of size (m, n). To loop through each row of this tensor, what I did was:
for row in A:
But I saw many people did:
for row in A.split(1):
Is there any difference between two methods? Is there a memory leak in the first method?