code: def assertAttributionComparision(test, attributions1, attributions2):
      for attribution1, attribution2 in zip(
          attributions1, attributions2
      ):
          for attr_row1, attr_row2 in zip(attribution1, attribution2):
              assertTensorAlmostEqual(
                  test, attr_row1, attr_row2, 0.05, "max"
              )
  
file_path: captum/tests/helpers/basic.py
imports: import copy
  import random
  import unittest
  from typing import Callable
  import numpy
  import torch
  from captum.log import patch_methods
label_desc: Use image node_id 4 for calling a global function with example usage: assertAttributionComparision(test, attributions1, attributions2) without return types