context class to allow setting the current context.
Example useage with layer:
regularizers = {'reg1': reg1, 'reg2': reg2}
with UseRegularizer(regularizers):
reg = RegularizerContext.current().get_regularizer('reg1')
layer(reg=reg)
Definition at line 28 of file regularizer_context.py.
1.8.11