class_docstr: Create an inference-only version of the model.
class_docstr_tok: ["Create","an","inference-only","version","of","the","model","."]
docstr: Run a fake batch through the network.
code: def build_network(self):
      """Run a fake batch through the network."""
      db_key = (
          "power_db"
          if "Power" in self.preprocessor_type
          else "loudness_db"
      )
      input_dict = {
          db_key: tf.zeros([self.n_frames]),
          "f0_hz": tf.zeros([self.n_frames]),
      }
      # Recursive print of shape.
      print("Inputs to Model:", ddsp.core.map_shape(input_dict))
      unused_outputs = self(input_dict)
      print("Outputs from Model:", ddsp.core.map_shape(unused_outputs))
  
imports: import ddsp
  from ddsp.training import models
  from ddsp.training import train_util
  import gin
  import tensorflow
label_desc: Use image node_id 4 for calling the AutoencoderInference obj's underlying member method code with example usage: obj.build_network() without return types