hi , i really don’t know what is wrong with it.
but by changing



 mv15885:

self.U = self.Rx().cdouble()


to
self.U = nn.Parameter(self.Rx().cdouble())

it’s no longer raising an error.
but i don’t feel it is  right to do this. maybe it helps you find out what’s wrong with it.