code: def __init__(self, indim, enrolldim, ninputs=1, do_addition=True):
      super().__init__()
      self.ninputs = ninputs
      self.do_addition = do_addition
  
      if do_addition:
          assert enrolldim == 2 * indim, (enrolldim, indim)
      else:
          assert enrolldim == indim, (enrolldim, indim)
  
file_path: espnet/espnet2/enh/layers/adapt_layers.py
imports: from functools import partial
  import torch
  import torch.nn
label_desc: Use image node_id 1 to create a new MulAddAdaptLayer object from inherited base classes: nn with example: obj = MulAddAdaptLayer(indim, enrolldim, ninputs, do_addition)