docstr: Generate dummy scaled f0 and ld conditioning.
docstr_tok: ["Generate","dummy","scaled","f0","and","ld","conditioning","."]
code: def _gen_dummy_conditioning(self):
      """Generate dummy scaled f0 and ld conditioning."""
      conditioning = {}
      # Generate dummy `f0_hz` with batch and channel dims.
      f0_hz_dummy = np.repeat(
          1.0, self.length_in_sec * self.frame_rate
      )[np.newaxis, :, np.newaxis]
      conditioning[
          "f0_scaled"
      ] = f0_hz_dummy  # Testing correct shapes only.
      # Generate dummy `loudness_db` with batch and channel dims.
      loudness_db_dummy = np.repeat(
          1.0, self.length_in_sec * self.frame_rate
      )[np.newaxis, :, np.newaxis]
      conditioning[
          "ld_scaled"
      ] = loudness_db_dummy  # Testing correct shapes only.
      return conditioning
  
file_path: ddsp/ddsp/training/decoders_test.py
imports: import functools
  from absl.testing import parameterized
  from ddsp.training import decoders
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 2 for calling the DilatedConvDecoderTest obj's underlying member method code with example usage: obj._gen_dummy_conditioning() and returns: conditioning