code: def test_lrp_creator_activation(self) -> None:
      model, inputs = _get_basic_config()
      model.add_module("sigmoid", nn.Sigmoid())
      lrp = LayerLRP(model, model.conv1)
      self.assertRaises(TypeError, lrp.attribute, inputs)
  
imports: import torch
  import torch.nn
  from captum.attr import LayerLRP
  from captum.attr._utils.lrp_rules import Alpha1_Beta0_Rule, EpsilonRule, GammaRule
  from ...helpers.basic import assertTensorAlmostEqual, BaseTest
  from ...helpers.basic_models import BasicModel_ConvNet_One_Conv, SimpleLRPModel
label_desc: Use image node_id 2 for calling the Test obj's underlying member method code with example usage: obj.test_lrp_creator_activation() without return types