@ptrblck  i checked that bs - self.k is  15
but when i tried :
print("losses.shape ",losses.shape)
and
print("losses ",list(losses.size()))
i get this output :
losses.shape  torch.Size([])

losses  []

what am i missing?