code: def test_should_raise_error_if_grad_cam_layer_cannot_be_found():
      model = tf.keras.Sequential(
          [
              tf.keras.layers.Dense(
                  10, input_shape=(10,), name="dense_1"
              ),
              tf.keras.layers.Dense(1, name="dense_2"),
          ]
      )
  
      with pytest.raises(ValueError):
          layer_name = GradCAM.infer_grad_cam_target_layer(model)
  
file_path: tf-explain/tests/core/test_grad_cam.py
imports: import numpy
  import pytest
  import tensorflow
  from tf_explain.core.grad_cam import GradCAM
label_desc: Use image node_id 6 for calling a global function with example usage: test_should_raise_error_if_grad_cam_layer_cannot_be_found() without return types