class_docstr: Test functionality of SkorchDoctor using a simple model
class_docstr_tok: ["Test","functionality","of","SkorchDoctor","using","a","simple","model"]
code: def test_activation_recs_not_all_identical(self, doctor):
      # make sure that values are not just all identical, using a large
      # tolerance to exclude small deviations
      recs = doctor.activation_recs_["module"]
  
      recs_lin0 = [rec["lin0"] for rec in recs]
      for act0, act1 in itertools.combinations(recs_lin0, r=2):
          if act0.shape == act1.shape:
              assert not np.allclose(act0, act1, rtol=1e-3)
  
      recs_lin1 = [rec["lin1"] for rec in recs]
      for act0, act1 in itertools.combinations(recs_lin1, r=2):
          if act0.shape == act1.shape:
              assert not np.allclose(act0, act1, rtol=1e-3)
  
      softmax = [rec["softmax"] for rec in recs]
      for act0, act1 in itertools.combinations(softmax, r=2):
          if act0.shape == act1.shape:
              assert not np.allclose(act0, act1, rtol=1e-3)
  
imports: import itertools
  from unittest import mock
  import numpy
  import pytest
  import torch
  from torch import nn
label_desc: Use image node_id 9 for calling the TestSkorchDoctorSimple obj's underlying member method code with example usage: obj.test_activation_recs_not_all_identical(doctor) without return types