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: Build the model by running a distributed batch through it.
docstr_tok: ["Build","the","model","by","running","a","distributed","batch","through","it","."]
code: def build(self, batch):
      """Build the model by running a distributed batch through it."""
      logging.info("Building the model...")
      _ = self.run(tf.function(self.model.__call__), batch)
      self.model.summary()
  
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 8 for calling the Trainer obj's underlying member method code with example usage: obj.build(batch) without return types