train docstring simplification
This commit is contained in:
parent
81e5551256
commit
e6f925f977
@ -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`.
|
||||||
|
Loading…
Reference in New Issue
Block a user