utils.tracker.base#

This module contains base Trackers

Classes

Tracker()

Base Tracker

class utils.tracker.base.Tracker[source]#

Bases: ABC

Base Tracker

Warning: This class should not be used directly. Use derived classes instead.

__call__(*args, **kwargs)[source]#

Returns the current tracked value.

get()[source]#

Returns the current tracked value.

get_normalized()[source]#

Default normalization which only returns the current tracked value.

abstract update(*args, **kwargs)[source]#

Updates the tracker with a new value or values.

Return type:

Tracker