()
return split_enum
Returns the Split corresponding to FLAGS.eval_finegrainedness_split.
Returns the Split corresponding to FLAGS.eval_finegrainedness_split.
Returns the Split corresponding to FLAGS . eval_finegrainedness_split .
def get_finegrainedness_split_enum():
  """Returns the Split corresponding to FLAGS.eval_finegrainedness_split."""
  if FLAGS.eval_finegrainedness_split == 'train':
    split_enum = learning_spec.Split.TRAIN
  elif FLAGS.eval_finegrainedness_split == 'valid':
    split_enum = learning_spec.Split.VALID
  elif FLAGS.eval_finegrainedness_split == 'test':
    split_enum = learning_spec.Split.TEST
  return split_enum
def get_finegrainedness_split_enum ( ) : if FLAGS . eval_finegrainedness_split == 'train' : split_enum = learning_spec . Split . TRAIN elif FLAGS . eval_finegrainedness_split == 'valid' : split_enum = learning_spec . Split . VALID elif FLAGS . eval_finegrainedness_split == 'test' : split_enum = learning_spec . Split . TEST return split_enum