ami / .mypy_cache /3.7 /torch /package /_mangling.data.json
patrickvonplaten's picture
upload all
c7a0c46
raw
history blame
6.73 kB
{".class": "MypyFile", "_fullname": "torch.package._mangling", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "PackageMangler": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.package._mangling.PackageMangler", "name": "PackageMangler", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.package._mangling.PackageMangler", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.package._mangling", "mro": ["torch.package._mangling.PackageMangler", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.package._mangling.PackageMangler.__init__", "name": "__init__", "type": null}}, "_mangle_index": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.package._mangling.PackageMangler._mangle_index", "name": "_mangle_index", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_mangle_parent": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.package._mangling.PackageMangler._mangle_parent", "name": "_mangle_parent", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "demangle": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "mangled"], "flags": [], "fullname": "torch.package._mangling.PackageMangler.demangle", "name": "demangle", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "mangled"], "arg_types": ["torch.package._mangling.PackageMangler", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "demangle of PackageMangler", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "mangle": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "flags": [], "fullname": "torch.package._mangling.PackageMangler.mangle", "name": "mangle", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "name"], "arg_types": ["torch.package._mangling.PackageMangler", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "mangle of PackageMangler", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "parent_name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.package._mangling.PackageMangler.parent_name", "name": "parent_name", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.package._mangling.__annotations__", "name": "__annotations__", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.package._mangling.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.package._mangling.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.package._mangling.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.package._mangling.__package__", "name": "__package__", "type": "builtins.str"}}, "_mangle_index": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "torch.package._mangling._mangle_index", "name": "_mangle_index", "type": "builtins.int"}}, "demangle": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "torch.package._mangling.demangle", "name": "demangle", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["name"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "demangle", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "get_mangle_prefix": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "torch.package._mangling.get_mangle_prefix", "name": "get_mangle_prefix", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["name"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "get_mangle_prefix", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "is_mangled": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "torch.package._mangling.is_mangled", "name": "is_mangled", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["name"], "arg_types": ["builtins.str"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "is_mangled", "ret_type": "builtins.bool", "type_guard": null, "variables": []}}}, "re": {".class": "SymbolTableNode", "cross_ref": "re", "kind": "Gdef"}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/torch/package/_mangling.py"}