code: def get_cam_weights(grads):
      return np.mean(grads, axis=(2, 3), keepdims=True)
  
imports: import cv2
  import numpy
label_desc: Use image node_id 2 for calling the GradCAM obj's underlying member method code with example usage: obj.get_cam_weights(grads) and returns: np