I have a piece of code like this:
a = Y[0]; b = Z[0] print(a, b) loss = 0 for i in range(len(a)): k = len(a)-i loss += (2**(k-1))*np.abs(a[i]-b[i]) pr