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","(",")"]
docstr: :return: the most recent checkpoint
docstr_tok: [":","return",":","the","most","recent","checkpoint"]
code: def last_checkpoint(self) -> SingleCheckpoint:
      """
      :return: the most recent checkpoint
      """
      return self._checkpoints[-1]
  
imports: import os
  import re
  from typing import List, Union, Tuple
label_desc: Use image node_id 3 for calling the CheckpointState obj's underlying member method code with example usage: obj.last_checkpoint() and returns: self