I disabled the use of argmax() , but I am still seeing same training loss.
So, I put a line: print("nodes[n].output.grad_fn = ", self.nodes[n].output.grad_fn) after gdas/gdas.py at main · promach/gdas · GitHub to check.
However, this .grad_fn returns None as well.