MCPcopy Create free account
hub / github.com/tensorflow/lingvo / ShouldStopAndMaybeReport

Method ShouldStopAndMaybeReport

lingvo/base_trial.py:77–91  ·  view source on GitHub ↗

Returns whether the trial should stop. Args: global_step: The global step counter. metrics_dict: If not None, contains the metric should be reported. If None, do nothing but returns whether the trial should stop.

(self, global_step, metrics_dict)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

_LoopMethod · 0.45
_LoopMethod · 0.45

Calls 2

ShouldStopMethod · 0.95

Tested by

no test coverage detected