def printLoss(y, yPred, t):
    # Compute and print loss
    loss = (yPred - y).pow(2).sum().item()
    if t % 100 == 99:
        print(t, loss)

8dafdebc46d7f939a9e560d7e4a9aa394db03274
<mask token>

def printLoss(y, yPred, t):
    loss = (yPred - y).pow(2).sum().item()
    if t % 100 == 99:
        print(t, loss)

def printLoss(y, yPred, t):
    # Compute and print loss
    loss = (yPred - y).pow(2).sum().item()
    if t % 100 == 99:
        print(t, loss)
