code: def _assert_attribution(self, expected_grad, input, attribution):
      assertTensorAlmostEqual(
          self,
          attribution,
          (expected_grad * input),
          delta=0.05,
          mode="max",
      )
  
imports: from typing import Any, cast
  import torch
  from captum._utils.typing import TensorOrTupleOfTensorsGeneric
  from captum.attr._core.input_x_gradient import InputXGradient
  from captum.attr._core.noise_tunnel import NoiseTunnel
  from tests.attr.test_saliency import _get_basic_config, _get_multiargs_basic_config
  from tests.helpers.basic import assertTensorAlmostEqual, BaseTest
  from tests.helpers.classification_models import SoftmaxModel
  from torch import Tensor
  from torch.nn import Module
label_desc: Use image node_id 11 for calling the Test obj's underlying member method code with example usage: obj._assert_attribution(expected_grad, input, attribution) without return types