Hi,
Here are the 3 options I tested to get the WeightValue from the tensor (the last was a test with a constant value)
        WeightValue = self.weight.tolist()[0]
        WeightValue = self.weight[0,0].clone().detach().cpu()
        WeightValue = 4.0

In none of them, the value of the weight tensor is updated.
Should I find a way to compute lweight directly as a tensor from self.weight value?