code: def test_av_load_all_identifiers_one_layer(self) -> None:
      with tempfile.TemporaryDirectory() as tmpdir:
          av_0 = torch.randn(64, 16)
          av_1 = torch.randn(36, 16)
          av_2 = torch.randn(16, 16)
          av_3 = torch.randn(4, 16)
          avs = [av_1, av_2, av_3]
  
          idf1, idf2, idf3 = "idf1", "idf2", "idf3"
  
          AV.save(
              tmpdir,
              "dummy",
              DEFAULT_IDENTIFIER,
              "layer1.0.conv1",
              av_0,
              "0",
          )
          dataloader = DataLoader(
              cast(
                  Dataset,
                  AV.load(
                      tmpdir, "dummy", identifier=DEFAULT_IDENTIFIER
                  ),
              )
          )
          self.assertEqual(len(dataloader), 1)
  
          # add activations for another layer
          AV.save(tmpdir, "dummy", idf1, "layer1.0.conv2", av_1, "0")
          AV.save(tmpdir, "dummy", idf2, "layer1.0.conv2", av_2, "0")
          AV.save(tmpdir, "dummy", idf3, "layer1.0.conv2", av_3, "0")
          dataloader_layer = DataLoader(
              cast(
                  Dataset,
                  AV.load(
                      tmpdir,
                      "dummy",
                      layer="layer1.0.conv2",
                  ),
              )
          )
  
          self.assertEqual(len(dataloader_layer), 3)
          for i, av in enumerate(dataloader_layer):
              assertTensorAlmostEqual(self, av, avs[i].unsqueeze(0))
  
          dataloader = DataLoader(
              cast(Dataset, AV.load(tmpdir, "dummy"))
          )
          self.assertEqual(len(dataloader), 4)
  
imports: import glob
  import tempfile
  from datetime import datetime
  from typing import cast, List
  import torch
  from captum._utils.av import AV
  from tests.helpers.basic import assertTensorAlmostEqual, BaseTest
  from tests.helpers.basic_models import BasicLinearReLULinear
  from torch.utils.data import DataLoader, Dataset
label_desc: Use image node_id 9 for calling the Test obj's underlying member method code with example usage: obj.test_av_load_all_identifiers_one_layer() without return types