tf.compat.v1.train.generate_checkpoint_state_proto

View source on GitHub

Generates a checkpoint state proto.

tf.compat.v1.train.generate_checkpoint_state_proto(
    save_dir, model_checkpoint_path, all_model_checkpoint_paths=None,
    all_model_checkpoint_timestamps=None, last_preserved_timestamp=None
)

Args:

Returns:

CheckpointState proto with model_checkpoint_path and all_model_checkpoint_paths updated to either absolute paths or relative paths to the current save_dir.

Raises: