wavefrontshaping / complexPyTorch

A high-level toolbox for using complex valued neural networks in PyTorch
MIT License
610 stars 148 forks source link

RuntimeError: imag is not implemented for tensors with non-complex dtypes. #13

Closed starsky68 closed 2 years ago

starsky68 commented 3 years ago

return (fr(input.real)-fi(input.imag)).type(dtype) RuntimeError: imag is not implemented for tensors with non-complex dtypes.

wavefrontshaping commented 3 years ago

You need to provide more information than that, what did you do? Seems like the input of your function/layer is not of complex type.