class_docstr: Wrap the model function for dependency injection with gin.
code: def __init__(
      self,
      preprocessor=None,
      encoder=None,
      decoder=None,
      processor_group=None,
      losses=None,
      **kwargs,
  ):
      super().__init__(**kwargs)
      self.preprocessor = preprocessor
      self.encoder = encoder
      self.decoder = decoder
      self.processor_group = processor_group
      self.loss_objs = ddsp.core.make_iterable(losses)
  
file_path: ddsp/ddsp/training/models/autoencoder.py
imports: import ddsp
  from ddsp.training.models.model import Model
label_desc: Use image node_id 1 to create a new Autoencoder object from inherited base classes: Model with example: obj = Autoencoder(preprocessor, encoder, decoder, processor_group, losses)