Hi!
I have defined a nn.Parameter, but the value is not updating. I wonder if this in because some of the calculations done with this parameter are outside the forward loop of the module. I have classes that are not nn.Modules, which I call from the forward loop and give the parameter as variable. Can this be a cause for the gradient being none?