Hello @ptrblck (and luminoussin)!



 luminoussin:

and my target is something like this :
tensor([[0., 0., 1., 0.]], device='cuda:0', grad_fn=<FloorBackward>)
...



Is it a concern that the target contains a grad_fn?  That strikes
me as odd.
Best.
K. Frank