def continuous_decode_on_train_data(self):
    """Decode from dataset on new checkpoint."""
    for _ in next_checkpoint(self._hparams.model_dir,
                             self._decode_hparams.decode_timeout_mins):
      self.decode(dataset_split=tf.estimator.ModeKeys.TRAIN)
def continuous_decode_on_train_data ( self ) : for _ in next_checkpoint ( self . _hparams . model_dir , self . _decode_hparams . decode_timeout_mins ) : self . decode ( dataset_split = tf . estimator . ModeKeys . TRAIN )
Decode from dataset on new checkpoint.