code: def test_end_to_end(self):
      with torchbearer.no_grad():
          model = torch.nn.Linear(10, 5)
          callback = imaging.ClassAppearanceModel(
              nclasses=5, input_size=(10), steps=1
          )
          state = {
              torchbearer.EPOCH: 0,
              torchbearer.MODEL: model,
              torchbearer.DEVICE: "cpu",
              torchbearer.DATA_TYPE: torch.float32,
          }
          callback.on_batch(state)
  
file_path: torchbearer/tests/callbacks/imaging/test_inside_cnns.py
imports: from unittest import TestCase
  from mock import MagicMock, patch, ANY
  import torch
  import torchbearer
  import torchbearer.callbacks.imaging
label_desc: Use image node_id 7 for calling the TestClassAppearanceModel obj's underlying member method code with example usage: obj.test_end_to_end() without return types