{".class": "MypyFile", "_fullname": "torch.autograd.anomaly_mode", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Any": {".class": "SymbolTableNode", "cross_ref": "typing.Any", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.autograd.anomaly_mode.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.autograd.anomaly_mode.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.autograd.anomaly_mode.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.autograd.anomaly_mode.__package__", "name": "__package__", "type": "builtins.str"}}, "detect_anomaly": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.anomaly_mode.detect_anomaly", "name": "detect_anomaly", "type_vars": []}, "flags": [], "fullname": "torch.autograd.anomaly_mode.detect_anomaly", "metaclass_type": null, "metadata": {}, "module_name": "torch.autograd.anomaly_mode", "mro": ["torch.autograd.anomaly_mode.detect_anomaly", "builtins.object"], "names": {".class": "SymbolTable", "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.anomaly_mode.detect_anomaly.__enter__", "name": "__enter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["torch.autograd.anomaly_mode.detect_anomaly"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__enter__ of detect_anomaly", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": ["self", "args"], "flags": [], "fullname": "torch.autograd.anomaly_mode.detect_anomaly.__exit__", "name": "__exit__", "type": {".class": "CallableType", "arg_kinds": [0, 2], "arg_names": [null, null], "arg_types": ["torch.autograd.anomaly_mode.detect_anomaly", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__exit__ of detect_anomaly", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.anomaly_mode.detect_anomaly.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.anomaly_mode.detect_anomaly"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of detect_anomaly", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "prev": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.anomaly_mode.detect_anomaly.prev", "name": "prev", "type": "builtins.bool"}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "set_detect_anomaly": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.anomaly_mode.set_detect_anomaly", "name": "set_detect_anomaly", "type_vars": []}, "flags": [], "fullname": "torch.autograd.anomaly_mode.set_detect_anomaly", "metaclass_type": null, "metadata": {}, "module_name": "torch.autograd.anomaly_mode", "mro": ["torch.autograd.anomaly_mode.set_detect_anomaly", "builtins.object"], "names": {".class": "SymbolTable", "__enter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.anomaly_mode.set_detect_anomaly.__enter__", "name": "__enter__", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": [null], "arg_types": ["torch.autograd.anomaly_mode.set_detect_anomaly"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__enter__ of set_detect_anomaly", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__exit__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2], "arg_names": ["self", "args"], "flags": [], "fullname": "torch.autograd.anomaly_mode.set_detect_anomaly.__exit__", "name": "__exit__", "type": {".class": "CallableType", "arg_kinds": [0, 2], "arg_names": [null, null], "arg_types": ["torch.autograd.anomaly_mode.set_detect_anomaly", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 2}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__exit__ of set_detect_anomaly", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "mode"], "flags": [], "fullname": "torch.autograd.anomaly_mode.set_detect_anomaly.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "mode"], "arg_types": ["torch.autograd.anomaly_mode.set_detect_anomaly", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of set_detect_anomaly", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "prev": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.anomaly_mode.set_detect_anomaly.prev", "name": "prev", "type": "builtins.bool"}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "torch": {".class": "SymbolTableNode", "cross_ref": "torch", "kind": "Gdef"}, "warnings": {".class": "SymbolTableNode", "cross_ref": "warnings", "kind": "Gdef"}}, "path": "/home/patrick/anaconda3/lib/python3.9/site-packages/torch/autograd/anomaly_mode.py"}