Create an interface for retrieving the current step number.
Create an interface for retrieving the current step number.
An implementation of this interface, when called for a training workload, will return the current step number, or 0 if training has not started.
This interface will be used for detecting workloads that hang, i.e., are not making progress. The hang detector will be implemented later.
Testing: test workloads.
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.