code: def dump(filename):
      schemas = torch._C._jit_get_all_schemas()
      schemas += torch._C._jit_get_custom_class_schemas()
      with open(filename, "w") as f:
          for s in schemas:
              f.write(str(s))
              f.write("\n")
  
label_desc: Use image node_id 1 for calling a global function with example usage: dump(filename) without return types