class_docstr: Base class for all models.
class_docstr_tok: ["Base","class","for","all","models","."]
docstr: Run the forward pass, add losses, and create a dictionary of outputs.
  
  This function must run the forward pass, add losses to self._losses_dict and
  return a dictionary of all the relevant output tensors.
  
  Args:
    *args: Args for forward pass.
    training: Required `training` kwarg passed in by keras.
    **kwargs: kwargs for forward pass.
  
  Returns:
    Dictionary of all relevant tensors.
docstr_tok: ["Run","the","forward","pass",",","add","losses",",","and","create","a","dictionary","of","outputs",".","This","function","must","run","the","forward","pass",",","add","losses","to","self._losses_dict","and","return","a","dictionary","of","all","the","relevant","output","tensors",".","Args",":","*","args",":","Args","for","forward","pass",".","training",":","Required","`","training","`","kwarg","passed","in","by","keras",".","*","*","kwargs",":","kwargs","for","forward","pass",".","Returns",":","Dictionary","of","all","relevant","tensors","."]
code: def call(self, *args, training=False, **kwargs):
      """Run the forward pass, add losses, and create a dictionary of outputs.
  
      This function must run the forward pass, add losses to self._losses_dict and
      return a dictionary of all the relevant output tensors.
  
      Args:
        *args: Args for forward pass.
        training: Required `training` kwarg passed in by keras.
        **kwargs: kwargs for forward pass.
  
      Returns:
        Dictionary of all relevant tensors.
      """
      raise NotImplementedError(
          "Must implement a `self.call()` method."
      )
  
file_path: ddsp/ddsp/training/models/model.py
imports: import time
  from absl import logging
  import ddsp
  from ddsp.core import copy_if_tf_function
  from ddsp.training import train_util
  import tensorflow
label_desc: Use image node_id 7 for calling the Model obj's underlying member method code with example usage: obj.call() without return types