Closed thequilo closed 3 years ago
I noticed, that the file name is padertorch/ops/losses/regression.py
(i.e. no connection to our current use case) and the old implementations seemed to be valid for real and complex numbers.
Since torch supports more and more complex operations, we should keep the correct behavior for complex numbers.
Relevance: When you want to use a loss in the STFT domain, you only need to flatten the last two dimensions of estimate and target.
Codecov Report
88.52% <90.62%> (-0.67%)
Continue to review full report at Codecov.