changed training loop test

This commit is contained in:
Dhairya Gandhi 2018-08-20 14:20:33 +05:30
parent 756207e782
commit 624dc6cb85
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ end
Flux.train!(() -> (sleep(0.1); i += 1; l),
Iterators.repeated((), 100),
()->(),
cb = Flux.throttle(() -> (i > 3 && :stop), 1))
cb = Flux.throttle(() -> (i > 3 && stop()), 1))
@test 3 < i < 50
end