mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-09-04 14:44:18 +00:00
1 line
10 KiB
JSON
1 line
10 KiB
JSON
{".class": "MypyFile", "_fullname": "torch.hub", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "DEFAULT_CACHE_DIR": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.DEFAULT_CACHE_DIR", "name": "DEFAULT_CACHE_DIR", "type": "builtins.str"}}, "ENV_GITHUB_TOKEN": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.ENV_GITHUB_TOKEN", "name": "ENV_GITHUB_TOKEN", "type": "builtins.str"}}, "ENV_TORCH_HOME": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.ENV_TORCH_HOME", "name": "ENV_TORCH_HOME", "type": "builtins.str"}}, "ENV_XDG_CACHE_HOME": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.ENV_XDG_CACHE_HOME", "name": "ENV_XDG_CACHE_HOME", "type": "builtins.str"}}, "HASH_REGEX": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.hub.HASH_REGEX", "name": "HASH_REGEX", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "typing.Pattern"}}}, "HTTPError": {".class": "SymbolTableNode", "cross_ref": "urllib.error.HTTPError", "kind": "Gdef"}, "MODULE_HUBCONF": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.MODULE_HUBCONF", "name": "MODULE_HUBCONF", "type": "builtins.str"}}, "READ_DATA_CHUNK": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.READ_DATA_CHUNK", "name": "READ_DATA_CHUNK", "type": "builtins.int"}}, "Request": {".class": "SymbolTableNode", "cross_ref": "urllib.request.Request", "kind": "Gdef"}, "VAR_DEPENDENCY": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.VAR_DEPENDENCY", "name": "VAR_DEPENDENCY", "type": "builtins.str"}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.hub.__package__", "name": "__package__", "type": "builtins.str"}}, "_check_dependencies": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["m"], "flags": [], "fullname": "torch.hub._check_dependencies", "name": "_check_dependencies", "type": null}}, "_check_module_exists": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "torch.hub._check_module_exists", "name": "_check_module_exists", "type": null}}, "_download_url_to_file": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["url", "dst", "hash_prefix", "progress"], "flags": [], "fullname": "torch.hub._download_url_to_file", "name": "_download_url_to_file", "type": null}}, "_get_cache_or_reload": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["github", "force_reload", "verbose", "skip_validation"], "flags": [], "fullname": "torch.hub._get_cache_or_reload", "name": "_get_cache_or_reload", "type": null}}, "_get_torch_home": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.hub._get_torch_home", "name": "_get_torch_home", "type": null}}, "_git_archive_link": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["repo_owner", "repo_name", "branch"], "flags": [], "fullname": "torch.hub._git_archive_link", "name": "_git_archive_link", "type": null}}, "_hub_dir": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.hub._hub_dir", "name": "_hub_dir", "type": {".class": "UnionType", "items": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "NoneType"}]}}}, "_is_legacy_zip_format": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["filename"], "flags": [], "fullname": "torch.hub._is_legacy_zip_format", "name": "_is_legacy_zip_format", "type": null}}, "_legacy_zip_load": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["filename", "model_dir", "map_location"], "flags": [], "fullname": "torch.hub._legacy_zip_load", "name": "_legacy_zip_load", "type": null}}, "_load_attr_from_module": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["module", "func_name"], "flags": [], "fullname": "torch.hub._load_attr_from_module", "name": "_load_attr_from_module", "type": null}}, "_load_entry_from_hubconf": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["m", "model"], "flags": [], "fullname": "torch.hub._load_entry_from_hubconf", "name": "_load_entry_from_hubconf", "type": null}}, "_load_local": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 2, 4], "arg_names": ["hubconf_dir", "model", "args", "kwargs"], "flags": [], "fullname": "torch.hub._load_local", "name": "_load_local", "type": null}}, "_parse_repo_info": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["github"], "flags": [], "fullname": "torch.hub._parse_repo_info", "name": "_parse_repo_info", "type": null}}, "_read_url": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["url"], "flags": [], "fullname": "torch.hub._read_url", "name": "_read_url", "type": null}}, "_remove_if_exists": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["path"], "flags": [], "fullname": "torch.hub._remove_if_exists", "name": "_remove_if_exists", "type": null}}, "_validate_not_a_forked_repo": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["repo_owner", "repo_name", "branch"], "flags": [], "fullname": "torch.hub._validate_not_a_forked_repo", "name": "_validate_not_a_forked_repo", "type": null}}, "download_url_to_file": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["url", "dst", "hash_prefix", "progress"], "flags": [], "fullname": "torch.hub.download_url_to_file", "name": "download_url_to_file", "type": null}}, "errno": {".class": "SymbolTableNode", "cross_ref": "errno", "kind": "Gdef"}, "get_dir": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.hub.get_dir", "name": "get_dir", "type": null}}, "hashlib": {".class": "SymbolTableNode", "cross_ref": "hashlib", "kind": "Gdef"}, "help": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["github", "model", "force_reload", "skip_validation"], "flags": [], "fullname": "torch.hub.help", "name": "help", "type": null}}, "import_module": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["name", "path"], "flags": [], "fullname": "torch.hub.import_module", "name": "import_module", "type": null}}, "json": {".class": "SymbolTableNode", "cross_ref": "json", "kind": "Gdef"}, "list": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["github", "force_reload", "skip_validation"], "flags": [], "fullname": "torch.hub.list", "name": "list", "type": null}}, "load": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 2, 5, 5, 5, 5, 4], "arg_names": ["repo_or_dir", "model", "args", "source", "force_reload", "verbose", "skip_validation", "kwargs"], "flags": [], "fullname": "torch.hub.load", "name": "load", "type": null}}, "load_state_dict_from_url": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["url", "model_dir", "map_location", "progress", "check_hash", "file_name"], "flags": [], "fullname": "torch.hub.load_state_dict_from_url", "name": "load_state_dict_from_url", "type": null}}, "os": {".class": "SymbolTableNode", "cross_ref": "os", "kind": "Gdef"}, "re": {".class": "SymbolTableNode", "cross_ref": "re", "kind": "Gdef"}, "set_dir": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["d"], "flags": [], "fullname": "torch.hub.set_dir", "name": "set_dir", "type": null}}, "shutil": {".class": "SymbolTableNode", "cross_ref": "shutil", "kind": "Gdef"}, "sys": {".class": "SymbolTableNode", "cross_ref": "sys", "kind": "Gdef"}, "tempfile": {".class": "SymbolTableNode", "cross_ref": "tempfile", "kind": "Gdef"}, "torch": {".class": "SymbolTableNode", "cross_ref": "torch", "kind": "Gdef"}, "tqdm": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_suppressed_import", "is_ready"], "fullname": "torch.hub.tqdm", "name": "tqdm", "type": {".class": "AnyType", "missing_import_name": "torch.hub.tqdm", "source_any": null, "type_of_any": 3}}}, "urlopen": {".class": "SymbolTableNode", "cross_ref": "urllib.request.urlopen", "kind": "Gdef"}, "urlparse": {".class": "SymbolTableNode", "cross_ref": "urllib.parse.urlparse", "kind": "Gdef"}, "warnings": {".class": "SymbolTableNode", "cross_ref": "warnings", "kind": "Gdef"}, "zipfile": {".class": "SymbolTableNode", "cross_ref": "zipfile", "kind": "Gdef"}}, "path": "/home/patrick/anaconda3/lib/python3.9/site-packages/torch/hub.py"} |