Why cant I see .grad of an intermediate variable?

Is it possible to create a (torch.autograd) flag in order to save all the variable’s gradients?