In a linear layer,I store the initial weight and bias in start_weight and start_bias,after training,I  store the consequent weight and bias in end_weight and end_bias. And I want to calculate the whole difference value in training.
eg:
difference_weight=end_weight-start_weight
difference_bias=end_bias-start_bias
print ('difference_weight: ',difference_weight)
print ('difference_bias: ',difference_bias)
But I only get some ‘0’ as follow, I think the accuracy is low, could you tell me how to calculate it?

81E6C4C3-4334-4D4F-9B99-960F5E8A59CD.jpg808×836 70 KB