So, I tried this code, the problem I am facing is that, when I run it on GPU, this code does not train at all.  Can you please tell me that why it is behaving that way.  I tried it on the CPU with of course, a different optimizer, with same seeds,  it is giving me same answers which is good but on GPU, it does not work at all. Is there something I am missing? Shouldn’t be the result same since the seed is fixed?