import json


def load_checkpoint(checkpoint_path):
  """Loads the checkpoint object stored at a given path.

  Args:
    checkpoint_path: Path along which checkpoint is stored.

  Returns:
    Python dictionary representing the data serialized in the checkpoint.
  """
  with open(checkpoint_path, "r") as fp:
    checkpoint_data = json.load(fp)
  return checkpoint_data