StochasticWeightAveraging#

Stochastic Weight Averaging callback.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__delattr__(self, name, /)#

Implement delattr(self, name).

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__dir__(self, /)#

Default dir() implementation.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__eq__(self, value, /)#

Return self==value.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__format__(self, format_spec, /)#

Default object formatter.

Return str(self) if format_spec is empty. Raise TypeError otherwise.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__ge__(self, value, /)#

Return self>=value.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__getattribute__(self, name, /)#

Return getattr(self, name).

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__getstate__(self, /)#

Helper for pickle.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__gt__(self, value, /)#

Return self>value.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__hash__(self, /)#

Return hash(self).

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__init_subclass__()#

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__le__(self, value, /)#

Return self<=value.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__lt__(self, value, /)#

Return self<value.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__ne__(self, value, /)#

Return self!=value.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__new__(*args, **kwargs)#

Create and return a new object. See help(type) for accurate signature.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__reduce__(self, /)#

Helper for pickle.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__reduce_ex__(self, protocol, /)#

Helper for pickle.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__repr__(self, /)#

Return repr(self).

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__setattr__(self, name, value, /)#

Implement setattr(self, name, value).

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__sizeof__(self, /)#

Size of object in memory, in bytes.

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__str__(self, /)#

Return str(self).

scdiffeq.callbacks._stochastic_weight_averaging.StochasticWeightAveraging.__subclasshook__()#

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).