code: def _check_types(types, schemas):
      types = dict(types.items())
      for schema in schemas.values():
          if schema.name in types:
              types.pop(schema.name)
      for key in list(types.keys()):
          if key.startswith("torch.nn"):
              types.pop(key)
          if (
              key.startswith("torchvision::")
              or key.startswith("torchaudio::")
              or key.startswith("neuron::")
          ):
              types.pop(key)
      types.pop("aten::fft")
      types.pop("aten::mul.ScalarT")
      types.pop("aten::classes._nnapi.Compilation")
      if len(types) > 0:
          raise Exception("\n".join(list(types.keys())))
  
file_path: netron/tools/pytorch_metadata.py
imports: import collections
  import json
  import os
  import re
  import sys
label_desc: Use image node_id 8 for calling a global function with example usage: _check_types(types, schemas) without return types