最佳检查点计划

class BestCheckpointSchedule(result_tracker: ResultTracker, metric_selection: MetricSelection)[source]

基础类:CheckpointSchedule

每当指标改善时创建一个检查点。

方法总结

__call__(step)

决定是否在指定的epoch创建检查点。

方法文档

Parameters:
__call__(step: int) bool[来源]

决定是否在指定的epoch创建检查点。

Parameters:

步骤 (int)

Return type:

bool