class_docstr: Class to bind an optimizer, model, strategy, and training step function.
class_docstr_tok: ["Class","to","bind","an","optimizer",",","model",",","strategy",",","and","training","step","function","."]
docstr: Distribute and run function on processors.
docstr_tok: ["Distribute","and","run","function","on","processors","."]
code: def run(self, fn, *args, **kwargs):
      """Distribute and run function on processors."""
      return self.strategy.run(fn, args=args, kwargs=kwargs)
  
file_path: ddsp/ddsp/training/trainers.py
imports: import time
  from absl import logging
  from ddsp.training import train_util
  import gin
  import tensorflow.compat.v2
label_desc: Use image node_id 7 for calling the Trainer obj's underlying member method code with example usage: obj.run(fn) and returns: self