image.png1265×403 11.9 KB

I have indicatored the problem happen in sencond batch， when use ys = ys.cuda(), someone say it is that i am not release the first batch, but i don’t underdstand.
could anyone explain why this happen?