code: def test_lrp_ixg_equivalency(self) -> None:
      model, inputs = _get_simple_model()
      lrp = LRP(model)
      attributions_lrp = lrp.attribute(inputs)
      ixg = InputXGradient(model)
      attributions_ixg = ixg.attribute(inputs)
      assertTensorAlmostEqual(self, attributions_lrp, attributions_ixg)
  
imports: from typing import cast, Tuple
  import torch
  import torch.nn
  from captum.attr import InputXGradient, LRP
  from captum.attr._utils.lrp_rules import Alpha1_Beta0_Rule, EpsilonRule, GammaRule, IdentityRule
  from tests.helpers.basic import assertTensorAlmostEqual, BaseTest
  from tests.helpers.basic_models import BasicModel_ConvNet_One_Conv, BasicModel_MultiLayer, BasicModelWithReusedLinear, SimpleLRPModel
  from torch import Tensor
  from torch.nn import Module
label_desc: Use image node_id 19 for calling the Test obj's underlying member method code with example usage: obj.test_lrp_ixg_equivalency() without return types