def get_train_eval_files(input_dir):
  """Get preprocessed training and eval files."""
  data_dir = _get_latest_data_dir(input_dir)
  train_pattern = os.path.join(data_dir, 'train*.tfrecord.gz')
  eval_pattern = os.path.join(data_dir, 'eval*.tfrecord.gz')
  train_files = file_io.get_matching_files(train_pattern)
  eval_files = file_io.get_matching_files(eval_pattern)
  return train_files, eval_files
def get_train_eval_files ( input_dir ) : data_dir = _get_latest_data_dir ( input_dir ) train_pattern = os . path . join ( data_dir , 'train*.tfrecord.gz' ) eval_pattern = os . path . join ( data_dir , 'eval*.tfrecord.gz' ) train_files = file_io . get_matching_files ( train_pattern ) eval_files = file_io . get_matching_files ( eval_pattern ) return train_files , eval_files
Get preprocessed training and eval files.