tf.contrib.estimator.make_stop_at_checkpoint_step_hook

tf.contrib.estimator.make_stop_at_checkpoint_step_hook(
    estimator,
    last_step,
    wait_after_file_check_secs=30
)

Defined in tensorflow/contrib/estimator/python/estimator/hooks.py.

Creates a proper StopAtCheckpointStepHook based on chief status.