|
imag = torch.sin(2 * a) / denominator |
Hi there,
firstly thanks for your contribution in complex-valued cnn, but it seems that tanh function regarding complex number was defined wrong in your code, it should be
imag = torch.sin(2 * b) / denominator
Best
pytorch-complex/torchcomplex/nn/functional.py
Line 334 in f5d0c35
Hi there,
firstly thanks for your contribution in complex-valued cnn, but it seems that tanh function regarding complex number was defined wrong in your code, it should be
Best