class_docstr: Abstract base class for all data formatters.
  
  User can implement the abstract methods below to perform dataset-specific
  manipulations.
class_docstr_tok: ["Abstract","base","class","for","all","data","formatters",".","User","can","implement","the","abstract","methods","below","to","perform","dataset-specific","manipulations","."]
docstr: Returns number of categories per relevant input.
  
  This is seqeuently required for keras embedding layers.
docstr_tok: ["Returns","number","of","categories","per","relevant","input",".","This","is","seqeuently","required","for","keras","embedding","layers","."]
code: def num_classes_per_cat_input(self):
      """Returns number of categories per relevant input.
  
      This is seqeuently required for keras embedding layers.
      """
      return self._num_classes_per_cat_input
  
file_path: qlib/examples/benchmarks/TFT/data_formatters/base.py
imports: import abc
  import enum
label_desc: Use image node_id 7 for calling the GenericDataFormatter obj's underlying member method code with example usage: obj.num_classes_per_cat_input() and returns: self