Nope it is not inside a loop! I think for some reason shiftlayer.named_parameters() is not returning a value
Edit: I printed all of the parameters of the generator object and it seems like b is not considered a parameter. Confused about what’s going on