code: def make_adapt_layer(type, indim, enrolldim, ninputs=1):
      adapt_class = adaptation_layer_types.get(type)
      return adapt_class(indim, enrolldim, ninputs)
  
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 for calling a global function with example usage: make_adapt_layer(type, indim, enrolldim, ninputs) and returns: adapt_class