Closed ckolbPTB closed 2 days ago
Coverage Report
Tests | Skipped | Failures | Errors | Time |
---|---|---|---|---|
1989 | 0 :zzz: | 0 :x: | 0 :fire: | 1m 56s :stopwatch: |
The MOLLI test fails. Currently we have:
signal(a,b,t1) = a * (1 - b/a * torch.exp(ti / t1 * (1 - b/a)))
The b/a term is what is causing problems. My suggestion would be to change this to
signal(a,c,t1) = a * (1 - c * torch.exp(ti / t1 * (1 - c)))
a and b don't have any physiological meaning and this should also make it easier to find good constraints for c.
See #406
remind me again, we we have no grad_check in the helpers, testing the numeric values of the gradients?
remind me again, we we have no grad_check in the helpers, testing the numeric values of the gradients?
I don't think we have discussed this yet. If we use pytorch autograd functionality, would this test not merely test pytorch functionality?
@fzimmermann89 could you have a look at this again please
:file_folder: Download as zip :mag: View online
So far, what is there look fine to me
remind me, what was the plan here? should we add a test for each operator and its adjoint?
With this PR we wanted to add autodiff tests for all non-linear operators. autodiff (and some more) tests for linear operators would then we added in PR #407
Will need #515 to pass mypy
Will need #515 to pass mypy
I stand corrected -- #515 would make the type hints more useful, but it passes without the changes
Adds the gradient checks for operators from #307