Closed starsky68 closed 2 years ago
return (fr(input.real)-fi(input.imag)).type(dtype) RuntimeError: imag is not implemented for tensors with non-complex dtypes.
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.
return (fr(input.real)-fi(input.imag)).type(dtype) RuntimeError: imag is not implemented for tensors with non-complex dtypes.