class_docstr: GradCAM class helps create localization maps using the Grad-CAM method for input videos
  and overlap the maps over the input videos as heatmaps.
  https://arxiv.org/pdf/1610.02391.pdf
class_docstr_tok: ["GradCAM","class","helps","create","localization","maps","using","the","Grad-CAM","method","for","input","videos","and","overlap","the","maps","over","the","input","videos","as","heatmaps",".","https",":","\/\/arxiv.org\/pdf\/1610.02391.pdf"]
docstr: Register hooks to layers in `self.target_layers`.
docstr_tok: ["Register","hooks","to","layers","in","`","self.target_layers","`","."]
code: def _register_hooks(self):
      """
      Register hooks to layers in `self.target_layers`.
      """
      for layer_name in self.target_layers:
          self._register_single_hook(layer_name=layer_name)
  
file_path: SlowFast/slowfast/visualization/gradcam_utils.py
imports: import matplotlib.pyplot
  import torch
  import torch.nn.functional
  import slowfast.datasets.utils
  from slowfast.visualization.utils import get_layer
label_desc: Use image node_id 3 for calling the GradCAM obj's underlying member method code with example usage: obj._register_hooks() without return types