Shortcuts

ResettableHandler#

class ignite.base.mixins.ResettableHandler[source]#

Interface for handlers whose internal state can be reset.

Subclasses must implement the reset() method to clear any accumulated state, typically at the beginning of a training run.

New in version 0.5.4.

Methods

attach

Attach the handler to an engine.

reset

Reset the handler's internal state.

abstract attach(engine, *args, **kwargs)[source]#

Attach the handler to an engine.

Parameters:
Return type:

None

abstract reset()[source]#

Reset the handler’s internal state.

Return type:

None

×

Search Docs