v0.0.60
Swapped order of input and output argument of hooks.
| Before | After |
|---|---|
| losses, output = hook(losses, inputs) | output, losses = hook(inputs, losses) |
The loss input argument is now optional, which makes the top level syntax cleaner:
# old
hook({}, {**models, **data})
# new
hook({**models, **data})