fixed example in docs
This commit is contained in:
parent
2f1a9847fa
commit
a964debd8a
@ -25,7 +25,7 @@ This would trigger the train loop to stop and exit.
|
||||
# Example callback:
|
||||
|
||||
cb = function ()
|
||||
accuracy() > 0.9 && stop()
|
||||
accuracy() > 0.9 && Flux.stop()
|
||||
end
|
||||
```
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user