In a small code snippet in a project…I have a for loop which iterates through 3 tensor values ,  A = torch.tensor([-3. , 6. , -3]).
det =  torch.tensor(0)
for i in range(3):
    det += A[i]
return det

Im getting the answer as, det = 2.3842e-07,  all the values in A and det are of type ‘torch.float64’