Few things:

The value of your bias is the size of the 1th dimension of x? Is that expected?
Wrapping Tensors into nn.Parameter is not doing anything if it is not set as an attribute of an nn.Module. So you should remove it here.
If you want to learnable paramters, you should check intros to pytorch. Namely you need to define the parameters on the nn.Module so that you can get it to your optimizer.