utils.get_latest_iteration

  1. utils.get_latest_iteration(path)

Return the largest iteration number corresponding to the given path.

Args:

  • path: The base path (including directory and base name) to search.

Returns:

The latest iteration number.

Raises:

  • ValueError: if there is not available log data at the given path.