code: def test_get_averaged_gradients(
      random_data, convolutional_model_without_final_activation
  ):
      images, _ = random_data
      gradients = VanillaGradients.compute_gradients(
          images, convolutional_model_without_final_activation, 0
      )
  
      assert gradients.shape == images.shape
  
imports: import pytest
  from tf_explain.core.vanilla_gradients import VanillaGradients, UNSUPPORTED_ARCHITECTURE_WARNING
label_desc: Use image node_id 2 for calling a global function with example usage: test_get_averaged_gradients(random_data, convolutional_model_without_final_activation) without return types