LossScheme: Scheme for multiple losses#

class hypercoil.loss.scheme.LossScheme(loss: 'Tuple[Callable]', apply: 'Callable' = <function unpack_or_noop at 0x7f2491818a60>)[source]#

Methods

__call__(*pparams[, key])

Call self as a function.

apply()

For an argument sequence, unpack if it's a singleton sequence, and otherwise return the sequence.

cfg

get_loss

losses

step