File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1942,9 +1942,9 @@ OptimizationFunction{iip}(f, adtype::AbstractADType = NoAD();
1942
1942
## Positional Arguments
1943
1943
1944
1944
- `f(u,p)`: the function to optimize. `u` are the optimization variables and `p` are fixed parameters or data used in the objective,
1945
- even if no such parameters are used in the objective it should be an argument in the function. For minibatching `p` can be used to pass in
1946
- a minibatch, take a look at the tutorial [here](https://docs.sciml.ai/Optimization/stable/tutorials/minibatch/) to see how to do it.
1947
- This should return a scalar, the loss value, as the return output.
1945
+ even if no such parameters are used in the objective it should be an argument in the function. For minibatching `p` can be used to pass in
1946
+ a minibatch, take a look at the tutorial [here](https://docs.sciml.ai/Optimization/stable/tutorials/minibatch/) to see how to do it.
1947
+ This should return a scalar, the loss value, as the return output.
1948
1948
- `adtype`: see the Defining Optimization Functions via AD section below.
1949
1949
1950
1950
## Keyword Arguments
You can’t perform that action at this time.
0 commit comments