code: def test_average(self):
      if Average in self.unsupported_blocks:
          self.skipTest("Average not supported by adapter config.")
  
      model = self.build_model()
      model.set_active_adapters(Average("a", "b", "c", "d"))
  
      inputs = {}
      inputs["input_ids"] = ids_tensor((2, 128), 1000)
      logits = model(**inputs).logits
      self.assertEqual(logits.shape, (2, 2))
  
imports: import unittest
  import torch
  import adapters
  from adapters import IA3Config, LoRAConfig, PrefixTuningConfig, SeqBnConfig
  from adapters.composition import Average, BatchSplit, Fuse, Parallel, Split, Stack, parse_composition
  from tests.test_adapter import ids_tensor
  from transformers import BertConfig, BertForSequenceClassification
  from transformers.testing_utils import require_torch, torch_device
label_desc: Use image node_id 19 for calling the AdapterCompositionTest obj's underlying member method code with example usage: obj.test_average() without return types