Skip to content

Commit a365957

Browse files
Update NEWS.md
1 parent e0a6ee4 commit a365957

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

NEWS.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# v4 Breaking changes
22

3-
The main change in this breaking release has been the way mini-batching is handled. The data argument in the solve call and the implicit iteration of that in the callback has been removed,
3+
1. The main change in this breaking release has been the way mini-batching is handled. The data argument in the solve call and the implicit iteration of that in the callback has been removed,
44
the stochastic solvers (Optimisers.jl and Sophia) now handle it explicitly. You would now pass in a DataLoader to OptimziationProblem as the second argument to the objective etc (p) if you
55
want to do minibatching, else for full batch just pass in the full data.
6+
7+
2. The support for extra returns from objective function has been removed. Now the objective should only return a scalar loss value, hence callback doesn't take extra arguments other than the state and loss value.
8+
9+

0 commit comments

Comments
 (0)