One couldn’t reproduce this, as it won’t run (triple backticks “```” around the code comment would help the formatting, too).
nn.Parameter breaks the computational graph and should only be used for model state, not for computed variables, so does Variable(...). It is almost certainly an error to instantiate new nn.Parameter that in forward.
Best regards
Thomas