sugh7020:

L_c -> tensor(0.2337, device='cuda:0', dtype=torch.float64)


L_c doesn’t have a connected computation graph, as there is no gradient function present.
i.e., optimizer.step() would try to minimize only L_d.