class_docstr: Test if the PeftModel behaves as expected. This includes:
  - test if the model has the expected methods
  
  We use parametrized.expand for debugging purposes to test each model individually.
class_docstr_tok: ["Test","if","the","PeftModel","behaves","as","expected",".","This","includes",":","-","test","if","the","model","has","the","expected","methods","We","use","parametrized.expand","for","debugging","purposes","to","test","each","model","individually","."]
code: def test_training_layer_indexing(
      self, test_name, model_id, config_cls, config_kwargs
  ):
      self._test_training_layer_indexing(
          model_id, config_cls, config_kwargs
      )
  
imports: import unittest
  import torch
  from parameterized import parameterized
  from transformers import AutoModel
  from peft import PrefixTuningConfig, PromptLearningConfig
  from .testing_common import PeftCommonTester, PeftTestConfigManager
label_desc: Use image node_id 11 for calling the PeftFeatureExtractionModelTester obj's underlying member method code with example usage: obj.test_training_layer_indexing(test_name, model_id, config_cls, config_kwargs) without return types