Skip to content

v0.0.60

Choose a tag to compare

@KevinMusgrave KevinMusgrave released this 28 Feb 22:04
· 272 commits to main since this release
0816a4a

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})