improve docstring
This commit is contained in:
parent
487002878e
commit
97141e8c98
|
@ -61,7 +61,7 @@ end
|
||||||
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`.
|
||||||
|
|
||||||
In case datapoints `d` are of array type, assumes no splatting is needed
|
In case datapoints `d` are of numeric array type, assumes no splatting is needed
|
||||||
and computes the gradient of `loss(d)`.
|
and computes the gradient of `loss(d)`.
|
||||||
|
|
||||||
Takes a callback as keyword argument `cb`. For example, this will print "training"
|
Takes a callback as keyword argument `cb`. For example, this will print "training"
|
||||||
|
|
Loading…
Reference in New Issue