fix train! test
This commit is contained in:
parent
1f0f2a5ac2
commit
edbcd3c9ea
|
@ -45,7 +45,7 @@ end
|
|||
|
||||
Flux.train!(() -> (sleep(0.1); i += 1; l),
|
||||
Iterators.repeated((), 100),
|
||||
()->(),
|
||||
ADAM([l]),
|
||||
cb = Flux.throttle(() -> (i > 3 && Flux.stop()), 1))
|
||||
|
||||
@test 3 < i < 50
|
||||
|
|
Loading…
Reference in New Issue