train docstring simplification

This commit is contained in:
Mike J Innes 2019-01-10 11:05:21 +00:00
parent 81e5551256
commit e6f925f977

View File

@ -45,7 +45,7 @@ function stop()
end 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 For each datapoint `d` in `data` computes the gradient of `loss(d...)` through
backpropagation and calls the optimizer `opt`. backpropagation and calls the optimizer `opt`.