code: def test_call_dummy_bert(self):
      lm = ecco.from_pretrained(
          "julien-c/bert-xsmall-dummy", activations=True, verbose=False
      )
      inputs = lm.to(
          lm.tokenizer(
              ["test", "hi"],
              padding=True,
              truncation=True,
              return_tensors="pt",
              max_length=512,
          )
      )
      output = lm(inputs)
      # Confirm it's (batch 2, layer 1, h_dimension 40, position 3)
      # position is 3 because of [CLS] and [SEP]
      # If we do require padding, this CUDA compains with this model for some reason.
      assert output.activations["encoder"].shape == (2, 1, 40, 3)
  
file_path: ecco/tests/lm_test.py
imports: from ecco.lm import LM, _one_hot, sample_output_token, activations_dict_to_array
  import ecco
  import torch
  import numpy
  from transformers import PreTrainedModel
label_desc: Use image node_id 7 for calling the TestLM obj's underlying member method code with example usage: obj.test_call_dummy_bert() without return types