code: def _del_library(
      captured_impls,
      op_impls,
      captured_defs,
      op_defs,
      registration_handles,
  ):
      captured_impls -= op_impls
      captured_defs -= op_defs
      for handle in registration_handles:
          handle.destroy()
  
imports: from ._ops import OpOverload
  from typing import Any, Optional, Set, List
  import traceback
  import torch
  import weakref
  import functools
  import inspect
  import re
  import sys
label_desc: Use image node_id 2 for calling a global function with example usage: _del_library(captured_impls, op_impls, captured_defs, op_defs, registration_handles) without return types