code: def test_average_prompt_tuning(self):
      model = self.get_model()
      self.run_average_test(
          model,
          PromptTuningConfig(prompt_length=10),
          ["prompt_tunings.{name}."],
      )
  
file_path: adapters/tests/methods/test_prompt_tuning.py
imports: from adapters import PromptTuningConfig
  from transformers.testing_utils import require_torch
  from .base import AdapterMethodBaseTestMixin
label_desc: Use image node_id 2 for calling the PromptTuningTestMixin obj's underlying member method code with example usage: obj.test_average_prompt_tuning() without return types