code: def _metadata():
      types = _read_metadata()
      schemas = _parse_schemas()
      _check_types(types, schemas)
      _check_schemas(schemas)
      filtered_schemas = _filter_schemas(schemas, types)
      metadata = pytorch.Metadata(types)
      for schema in filtered_schemas.values():
          metadata.type(schema)
      _write_metadata(types)
  
file_path: netron/tools/pytorch_metadata.py
imports: import collections
  import json
  import os
  import re
  import sys
label_desc: Use image node_id 9 for calling a global function with example usage: _metadata() without return types