code: def test_output_shape_is_correct(self):
      synthesizer = synths.Harmonic(
          n_samples=64000,
          sample_rate=16000,
          scale_fn=None,
          normalize_below_nyquist=True,
      )
      batch_size = 3
      num_frames = 1000
      amp = (
          tf.zeros((batch_size, num_frames, 1), dtype=tf.float32) + 1.0
      )
      harmonic_distribution = (
          tf.zeros((batch_size, num_frames, 16), dtype=tf.float32)
          + 1.0 / 16
      )
      f0_hz = (
          tf.zeros((batch_size, num_frames, 1), dtype=tf.float32)
          + 16000
      )
  
      output = synthesizer(amp, harmonic_distribution, f0_hz)
  
      self.assertAllEqual([batch_size, 64000], output.shape.as_list())
  
file_path: ddsp/ddsp/synths_test.py
imports: from ddsp import core
  from ddsp import synths
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 1 for calling the HarmonicTest obj's underlying member method code with example usage: obj.test_output_shape_is_correct() without return types