class_docstr: Convolutional (FIR) reverb.
class_docstr_tok: ["Convolutional","(","FIR",")","reverb","."]
docstr: Set first impulse response to zero to mask the dry signal.
docstr_tok: ["Set","first","impulse","response","to","zero","to","mask","the","dry","signal","."]
code: def _mask_dry_ir(self, ir):
      """Set first impulse response to zero to mask the dry signal."""
      # Make IR 2-D [batch, ir_size].
      if len(ir.shape) == 1:
          ir = ir[tf.newaxis, :]  # Add a batch dimension
      if len(ir.shape) == 3:
          ir = ir[:, :, 0]  # Remove unnessary channel dimension.
      # Mask the dry signal.
      dry_mask = tf.zeros([int(ir.shape[0]), 1], tf.float32)
      return tf.concat([dry_mask, ir[:, 1:]], axis=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 2 for calling the Reverb obj's underlying member method code with example usage: obj._mask_dry_ir(ir) and returns: tf