Thankyou for the reply @ptrblck but it’s not working. Applying model.to(torch.complex128) i am getting an error  " nn.Module.to only accepts floating point dtypes, but got desired dtype=torch.complex128".   Is there any other way for converting weights float to complex128.?