code: def _parse_schemas():
      schemas = {}
      for entry in schema_source_files:
          path = os.path.join(pytorch_source_dir, entry[0])
          content = _read(path)
          for value in entry[1].findall(content):
              value = (
                  re.sub(r'\n|\r|\s*"', "", value)
                  if value.startswith("_caffe2::")
                  else value
              )
              definition = entry[2] + value if len(entry) > 2 else value
              schema = pytorch.Schema(definition)
              if schema.name in schemas:
                  raise KeyError()
              schemas[schema.name] = schema
      for definition in known_schema_definitions:
          schema = pytorch.Schema(definition)
          schemas[schema.name] = schema
      return schemas
  
file_path: netron/tools/pytorch_metadata.py
imports: import collections
  import json
  import os
  import re
  import sys
label_desc: Use image node_id 5 for calling a global function with example usage: _parse_schemas() and returns: schemas