class_docstr: Transform labels to encodings.
  
  # Arguments
      labels: A list of labels of any type. The labels to be encoded.
class_docstr_tok: ["Transform","labels","to","encodings",".","#","Arguments","labels",":","A","list","of","labels","of","any","type",".","The","labels","to","be","encoded","."]
code: def get_config(self):
      return {"labels": self.labels}
  
file_path: autokeras/autokeras/preprocessors/encoders.py
imports: import numpy
  import tensorflow
  from autokeras.engine import preprocessor
label_desc: Use image node_id 2 for calling the Encoder obj's underlying member method code with example usage: obj.get_config() and returns: dict