Closed yiyuezhuo closed 4 years ago
So the issue with the inverse of PlanarLayer
is that it requires an iterated algorithm to compute. As a result, it's not guaranteed to be 100% accurate. Not sure what the best approach to testing these is. Maybe just lowering the rtol
requirement?
raise:
Strangely, this test passed in Julia 1.4.1.
I guess it should be attributed to seed (
seed!(1)
before tests), since even in Julia 1.4.1, which passed the test, will raise similar errors when run corresponding code multiple times or change seed (ex:seed!(3)
). Is it valid to specify a new seed to make this test pass? But this will lead to subtle version compatible problems.