class_docstr: Testing suite for Audio models - tests all the tests defined in `BetterTransformersTestMixin`
code: def test_invert_modules(
      self, test_name: str, model_type: str, keep_original_model=False
  ):
      if (
          model_type in ["hubert", "wav2vec2"]
          and keep_original_model is True
      ):
          self.skipTest(
              f"{model_type} does not support keep_original_model=True"
          )
  
      model_ids = (
          MODELS_DICT[model_type]
          if isinstance(MODELS_DICT[model_type], tuple)
          else (MODELS_DICT[model_type],)
      )
      for model_id in model_ids:
          self._test_invert_modules(
              model_id=model_id, keep_original_model=keep_original_model
          )
  
imports: import unittest
  import numpy
  import pytest
  import torch
  from parameterized import parameterized
  from testing_utils import MODELS_DICT, BetterTransformersTestMixin
  from transformers import AutoModel, AutoProcessor, set_seed
  from optimum.bettertransformer import BetterTransformer
  from optimum.utils.testing_utils import grid_parameters, require_torch_gpu
label_desc: Use image node_id 3 for calling the BetterTransformersAudioTest obj's underlying member method code with example usage: obj.test_invert_modules(test_name, model_type, keep_original_model) without return types