NopStopper

class NopStopper(*args, **kwargs)[source]

Bases: Stopper

A stopper that does nothing.

Initialize the stopper.

Parameters:
  • args – ignored positional parameters

  • kwargs – ignored keyword-based parameters

Methods Summary

get_summary_dict()

Return empty mapping, doesn't have any attributes.

should_evaluate(epoch)

Return false; should never evaluate.

should_stop(epoch)

Return false; should never stop.

Methods Documentation

get_summary_dict() Mapping[str, Any][source]

Return empty mapping, doesn’t have any attributes.

Return type:

Mapping[str, Any]

should_evaluate(epoch: int) bool[source]

Return false; should never evaluate.

Parameters:

epoch (int)

Return type:

bool

should_stop(epoch: int) bool[source]

Return false; should never stop.

Parameters:

epoch (int)

Return type:

bool