code: def _clear_jit_cache():
      from torch.jit._recursive import concrete_type_store
      from torch.jit._state import _jit_caching_layer
  
      concrete_type_store.type_store.clear()  # for modules
      _jit_caching_layer.clear()
  
file_path: detectron2/detectron2/export/torchscript_patch.py
imports: import os
  import sys
  import tempfile
  from contextlib import ExitStack, contextmanager
  from copy import deepcopy
  from unittest import mock
  import torch
  from torch import nn
  import detectron2
  from detectron2.structures import Boxes, Instances
  from detectron2.utils.env import _import_file
label_desc: Use image node_id 1 for calling a global function with example usage: _clear_jit_cache() without return types