train docstring simplification

This commit is contained in:
Mike J Innes 2019-01-10 11:05:21 +00:00
parent 81e5551256
commit e6f925f977
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ function stop()
end
"""
train!(loss, params, data, opt; cb = () -> ())
train!(loss, params, data, opt; cb)
For each datapoint `d` in `data` computes the gradient of `loss(d...)` through
backpropagation and calls the optimizer `opt`.