code: def continuous_decode_from_file(self):
      
      for _ in next_checkpoint(self._hparams.model_dir,
                               self._decode_hparams.decode_timeout_mins):
        self.decode(decode_from_file=True)
docs: Decode from file on new checkpoint.