class_docstr: Helper class for checkpoint directory information. It replicates
  the CheckpointState protobuf class in tensorflow with addition of
  two new functions: last_checkpoint() and all_checkpoints()
class_docstr_tok: ["Helper","class","for","checkpoint","directory","information",".","It","replicates","the","CheckpointState","protobuf","class","in","tensorflow","with","addition","of","two","new","functions",":","last_checkpoint","(",")","and","all_checkpoints","(",")"]
code: def __str__(self):
      out_str = "model_checkpoint_path: {}\n".format(
          self.model_checkpoint_path
      )
      for c in self.all_model_checkpoint_paths:
          out_str += "all_model_checkpoint_paths: {}\n".format(c)
      return out_str
  
imports: import os
  import re
  from typing import List, Union, Tuple
label_desc: Use image node_id 6 for calling the CheckpointState obj's underlying member method code with example usage: obj.__str__() and returns: out_str