class_docstr: To run: "python -m saliency.tf1.grad_cam_test" from top-level saliency directory.
docstr: Tests that sess.run receives the correct inputs.
docstr_tok: ["Tests","that","sess.run","receives","the","correct","inputs","."]
code: def testGradCamGetMaskArgs(self):
      """Tests that sess.run receives the correct inputs."""
      img = np.ones([INPUT_HEIGHT_WIDTH, INPUT_HEIGHT_WIDTH])
      img = img.reshape([INPUT_HEIGHT_WIDTH, INPUT_HEIGHT_WIDTH, 1])
      feed_dict = {"foo": "bar"}
      self.sess_spy.run.return_value = [[img], [img]]
  
      self.grad_cam_instance.GetMask(
          img, feed_dict=feed_dict, should_resize=True, three_dims=False
      )
      actual_feed_dict = self.sess_spy.run.call_args[1]["feed_dict"]
  
      self.assertEqual(actual_feed_dict["foo"], feed_dict["foo"])
  
file_path: saliency/saliency/tf1/grad_cam_test.py
imports: import unittest
  import unittest.mock
  from .None import grad_cam
  import numpy
  import tensorflow.compat.v1
label_desc: Use image node_id 3 for calling the GradCamTest obj's underlying member method code with example usage: obj.testGradCamGetMaskArgs() without return types