Thanks!
I was not aware of this. But to throws me the following error:
nn.Module.to only accepts floating point dtypes


However, staying with type but moving it to after registration did do something, cause now I get the error:
RuntimeError: addmm does not support automatic differentiation for outputs with complex dtype.

Any suggestions?