code: def continuous_decode(self):
      
      for _ in next_checkpoint(self._hparams.model_dir,
                               self._decode_hparams.decode_timeout_mins):
        self.decode()
docs: Decode from dataset on new checkpoint.