cbx.utils.history.track_update_norm#

class cbx.utils.history.track_update_norm[source]#

Bases: track

Class for tracking the ‘update_norm’ entry in the history.

static init_history(dyn)[source]#

Initializes the value to be tracked in the history dictionary of the given dyn object.

Parameters:

dyn (object) – The object to track in the history dictionary.

Return type:

None

static update(dyn)[source]#

Updates the ‘update_norm’ entry in the ‘history’ dictionary with the ‘update_diff’ value.

Parameters:

None

Returns:

None