class_docstr: Convolutional (FIR) reverb.
class_docstr_tok: ["Convolutional","(","FIR",")","reverb","."]
docstr: Tile the impulse response variable to match the batch size.
docstr_tok: ["Tile","the","impulse","response","variable","to","match","the","batch","size","."]
code: def _match_dimensions(self, audio, ir):
      """Tile the impulse response variable to match the batch size."""
      # Add batch dimension.
      if len(ir.shape) == 1:
          ir = ir[tf.newaxis, :]
      # Match batch dimension.
      batch_size = int(audio.shape[0])
      return tf.tile(ir, [batch_size, 1])
  
imports: from ddsp import core
  from ddsp import processors
  from ddsp import synths
  import gin
  import tensorflow.compat.v2
label_desc: Use image node_id 3 for calling the Reverb obj's underlying member method code with example usage: obj._match_dimensions(audio, ir) and returns: tf