@albanD
I didn’t get it…
Should I compute U before forward function
U=torch.ger(self.u, self.u)
def forward()
self.hidden1.weight.copy_(U)
or inside
def forward()
U=torch.ger(self.u, self.u)
self.hidden1.weight.copy_(U)