Save the date! Google I/O returns May 18-20 Register now


View source on GitHub

Retrieves information about the objects in a checkpoint.

Example usage:

object_graph = tf.contrib.checkpoint.object_metadata(
ckpt_variable_names = set()
for node in object_graph.nodes:
  for attribute in node.attributes:

save_path The path to the checkpoint, as returned by save or tf.train.latest_checkpoint.

A parsed tf.contrib.checkpoint.TrackableObjectGraph protocol buffer.

ValueError If an object graph was not found in the checkpoint.