def GetListOfFeatureSizes(feature_sizes):
  """Extract the list of the dimensionality of each feature
     from string of comma separated values.

  Args:
    feature_sizes: string containing comma separated list of feature sizes

  Returns:
    List of the dimensionality of each feature.
    Elements in the first list are integers.
  """
  list_of_feature_sizes = [
      int(feature_sizes) for feature_sizes in feature_sizes.split(',')]
  return list_of_feature_sizes