code: def get_adapter_cfg(in_features=50, dim=100, norm_pos="pre"):
      cfg = {
          "_target_": "nemo.collections.common.parts.adapter_modules.LinearAdapter",
          "in_features": in_features,
          "dim": dim,
          "norm_position": norm_pos,
      }
      return cfg
  
imports: import os
  import shutil
  import tempfile
  from typing import Tuple
  import pytest
  import torch
  from hydra.utils import instantiate
  from omegaconf import DictConfig, OmegaConf
  from nemo.collections.common.parts.adapter_modules import LinearAdapter
  from nemo.core import ModelPT, NeuralModule
  from nemo.core.classes.mixins import adapter_mixin_strategies, adapter_mixins
  from nemo.core.classes.mixins.adapter_mixins import AdapterModelPTMixin, AdapterModuleMixin
  from nemo.utils import logging, logging_mode
label_desc: Use image node_id 1 for calling a global function with example usage: get_adapter_cfg(in_features, dim, norm_pos) and returns: cfg