ami / .mypy_cache /3.7 /torch /_lobpcg.data.json
patrickvonplaten's picture
upload all
c7a0c46
raw
history blame
27 kB
{".class": "MypyFile", "_fullname": "torch._lobpcg", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Dict": {".class": "SymbolTableNode", "cross_ref": "typing.Dict", "kind": "Gdef", "module_public": false}, "LOBPCG": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch._lobpcg.LOBPCG", "name": "LOBPCG", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch._lobpcg.LOBPCG", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch._lobpcg", "mro": ["torch._lobpcg.LOBPCG", "builtins.object"], "names": {".class": "SymbolTable", "A": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.A", "name": "A", "type": {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}}}, "B": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.B", "name": "B", "type": {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}}}, "E": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.E", "name": "E", "type": "torch._tensor.Tensor"}}, "R": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.R", "name": "R", "type": "torch._tensor.Tensor"}}, "S": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.S", "name": "S", "type": "torch._tensor.Tensor"}}, "X": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.X", "name": "X", "type": "torch._tensor.Tensor"}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["self", "A", "B", "X", "iK", "iparams", "fparams", "bparams", "method", "tracker"], "flags": [], "fullname": "torch._lobpcg.LOBPCG.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "arg_names": ["self", "A", "B", "X", "iK", "iparams", "fparams", "bparams", "method", "tracker"], "arg_types": ["torch._lobpcg.LOBPCG", {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, "torch._tensor.Tensor", {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "Instance", "args": ["builtins.str", "builtins.int"], "type_ref": "builtins.dict"}, {".class": "Instance", "args": ["builtins.str", "builtins.float"], "type_ref": "builtins.dict"}, {".class": "Instance", "args": ["builtins.str", "builtins.bool"], "type_ref": "builtins.dict"}, "builtins.str", {".class": "NoneType"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of LOBPCG", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "__str__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "torch._lobpcg.LOBPCG.__str__", "name": "__str__", "type": null}}, "_get_ortho": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "U", "V"], "flags": [], "fullname": "torch._lobpcg.LOBPCG._get_ortho", "name": "_get_ortho", "type": null}}, "_get_rayleigh_ritz_transform": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "S"], "flags": [], "fullname": "torch._lobpcg.LOBPCG._get_rayleigh_ritz_transform", "name": "_get_rayleigh_ritz_transform", "type": null}}, "_get_svqb": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "U", "drop", "tau"], "flags": [], "fullname": "torch._lobpcg.LOBPCG._get_svqb", "name": "_get_svqb", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "U", "drop", "tau"], "arg_types": ["torch._lobpcg.LOBPCG", "torch._tensor.Tensor", "builtins.bool", "builtins.float"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_get_svqb of LOBPCG", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "_update_basic": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch._lobpcg.LOBPCG._update_basic", "name": "_update_basic", "type": null}}, "_update_ortho": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch._lobpcg.LOBPCG._update_ortho", "name": "_update_ortho", "type": null}}, "bparams": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.bparams", "name": "bparams", "type": {".class": "Instance", "args": ["builtins.str", "builtins.bool"], "type_ref": "builtins.dict"}}}, "bvars": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch._lobpcg.LOBPCG.bvars", "name": "bvars", "type": {".class": "Instance", "args": ["builtins.str", "builtins.bool"], "type_ref": "builtins.dict"}}}, "call_tracker": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_decorated"], "fullname": "torch._lobpcg.LOBPCG.call_tracker", "name": "call_tracker", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": null, "name": "call_tracker", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "fparams": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.fparams", "name": "fparams", "type": {".class": "Instance", "args": ["builtins.str", "builtins.float"], "type_ref": "builtins.dict"}}}, "fvars": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch._lobpcg.LOBPCG.fvars", "name": "fvars", "type": {".class": "Instance", "args": ["builtins.str", "builtins.float"], "type_ref": "builtins.dict"}}}, "iK": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.iK", "name": "iK", "type": {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}}}, "iparams": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.iparams", "name": "iparams", "type": {".class": "Instance", "args": ["builtins.str", "builtins.int"], "type_ref": "builtins.dict"}}}, "ivars": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch._lobpcg.LOBPCG.ivars", "name": "ivars", "type": {".class": "Instance", "args": ["builtins.str", "builtins.int"], "type_ref": "builtins.dict"}}}, "method": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.method", "name": "method", "type": "builtins.str"}}, "run": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch._lobpcg.LOBPCG.run", "name": "run", "type": null}}, "stop_iteration": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch._lobpcg.LOBPCG.stop_iteration", "name": "stop_iteration", "type": null}}, "tracker": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch._lobpcg.LOBPCG.tracker", "name": "tracker", "type": {".class": "NoneType"}}}, "tvars": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch._lobpcg.LOBPCG.tvars", "name": "tvars", "type": {".class": "Instance", "args": ["builtins.str", "torch._tensor.Tensor"], "type_ref": "builtins.dict"}}}, "update": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch._lobpcg.LOBPCG.update", "name": "update", "type": null}}, "update_converged_count": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch._lobpcg.LOBPCG.update_converged_count", "name": "update_converged_count", "type": null}}, "update_residual": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch._lobpcg.LOBPCG.update_residual", "name": "update_residual", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "LOBPCGAutogradFunction": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.autograd.function.Function"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch._lobpcg.LOBPCGAutogradFunction", "name": "LOBPCGAutogradFunction", "type_vars": []}, "deletable_attributes": [], "flags": ["fallback_to_any"], "fullname": "torch._lobpcg.LOBPCGAutogradFunction", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch._lobpcg", "mro": ["torch._lobpcg.LOBPCGAutogradFunction", "torch.autograd.function.Function", "builtins.object"], "names": {".class": "SymbolTable", "backward": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["ctx", "D_grad", "U_grad"], "flags": ["is_static", "is_decorated"], "fullname": "torch._lobpcg.LOBPCGAutogradFunction.backward", "name": "backward", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "backward", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["ctx", "D_grad", "U_grad"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "backward of LOBPCGAutogradFunction", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "forward": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "arg_names": ["ctx", "A", "k", "B", "X", "n", "iK", "niter", "tol", "largest", "method", "tracker", "ortho_iparams", "ortho_fparams", "ortho_bparams"], "flags": ["is_static", "is_decorated"], "fullname": "torch._lobpcg.LOBPCGAutogradFunction.forward", "name": "forward", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "arg_names": ["ctx", "A", "k", "B", "X", "n", "iK", "niter", "tol", "largest", "method", "tracker", "ortho_iparams", "ortho_fparams", "ortho_bparams"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "torch._tensor.Tensor", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.float", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "NoneType"}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.int"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.float"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.bool"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "forward of LOBPCGAutogradFunction", "ret_type": {".class": "TupleType", "implicit": false, "items": ["torch._tensor.Tensor", "torch._tensor.Tensor"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "forward", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "arg_names": ["ctx", "A", "k", "B", "X", "n", "iK", "niter", "tol", "largest", "method", "tracker", "ortho_iparams", "ortho_fparams", "ortho_bparams"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "torch._tensor.Tensor", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.float", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "NoneType"}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.int"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.float"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.bool"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "forward of LOBPCGAutogradFunction", "ret_type": {".class": "TupleType", "implicit": false, "items": ["torch._tensor.Tensor", "torch._tensor.Tensor"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "LOBPCG_call_tracker": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch._lobpcg.LOBPCG_call_tracker", "name": "LOBPCG_call_tracker", "type": null}}, "LOBPCG_call_tracker_orig": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "torch._lobpcg.LOBPCG_call_tracker_orig", "name": "LOBPCG_call_tracker_orig", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef", "module_public": false}, "Tensor": {".class": "SymbolTableNode", "cross_ref": "torch._tensor.Tensor", "kind": "Gdef", "module_public": false}, "Tuple": {".class": "SymbolTableNode", "cross_ref": "typing.Tuple", "kind": "Gdef", "module_public": false}, "__all__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["has_explicit_value"], "fullname": "torch._lobpcg.__all__", "name": "__all__", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch._lobpcg.__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", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch._lobpcg.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch._lobpcg.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch._lobpcg.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch._lobpcg.__package__", "name": "__package__", "type": "builtins.str"}}, "_lobpcg": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "arg_names": ["A", "k", "B", "X", "n", "iK", "niter", "tol", "largest", "method", "tracker", "ortho_iparams", "ortho_fparams", "ortho_bparams"], "flags": [], "fullname": "torch._lobpcg._lobpcg", "name": "_lobpcg", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "arg_names": ["A", "k", "B", "X", "n", "iK", "niter", "tol", "largest", "method", "tracker", "ortho_iparams", "ortho_fparams", "ortho_bparams"], "arg_types": ["torch._tensor.Tensor", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.float", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "NoneType"}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.int"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.float"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.bool"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "_lobpcg", "ret_type": {".class": "TupleType", "implicit": false, "items": ["torch._tensor.Tensor", "torch._tensor.Tensor"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "_matrix_polynomial_value": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["poly", "x", "zero_power"], "flags": [], "fullname": "torch._lobpcg._matrix_polynomial_value", "name": "_matrix_polynomial_value", "type": null}}, "_polynomial_coefficients_given_roots": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["roots"], "flags": [], "fullname": "torch._lobpcg._polynomial_coefficients_given_roots", "name": "_polynomial_coefficients_given_roots", "type": null}}, "_polynomial_value": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["poly", "x", "zero_power", "transition"], "flags": [], "fullname": "torch._lobpcg._polynomial_value", "name": "_polynomial_value", "type": null}}, "_symeig_backward": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0], "arg_names": ["D_grad", "U_grad", "A", "D", "U", "largest"], "flags": [], "fullname": "torch._lobpcg._symeig_backward", "name": "_symeig_backward", "type": null}}, "_symeig_backward_complete_eigenspace": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0], "arg_names": ["D_grad", "U_grad", "A", "D", "U"], "flags": [], "fullname": "torch._lobpcg._symeig_backward_complete_eigenspace", "name": "_symeig_backward_complete_eigenspace", "type": null}}, "_symeig_backward_partial_eigenspace": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0], "arg_names": ["D_grad", "U_grad", "A", "D", "U", "largest"], "flags": [], "fullname": "torch._lobpcg._symeig_backward_partial_eigenspace", "name": "_symeig_backward_partial_eigenspace", "type": null}}, "_utils": {".class": "SymbolTableNode", "cross_ref": "torch._linalg_utils", "kind": "Gdef", "module_public": false}, "_vector_polynomial_value": {".class": "SymbolTableNode", "kind": "Gdef", "module_public": false, "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["poly", "x", "zero_power"], "flags": [], "fullname": "torch._lobpcg._vector_polynomial_value", "name": "_vector_polynomial_value", "type": null}}, "handle_torch_function": {".class": "SymbolTableNode", "cross_ref": "torch.overrides.handle_torch_function", "kind": "Gdef", "module_public": false}, "has_torch_function": {".class": "SymbolTableNode", "cross_ref": "torch.overrides.has_torch_function", "kind": "Gdef", "module_public": false}, "lobpcg": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "arg_names": ["A", "k", "B", "X", "n", "iK", "niter", "tol", "largest", "method", "tracker", "ortho_iparams", "ortho_fparams", "ortho_bparams"], "flags": [], "fullname": "torch._lobpcg.lobpcg", "name": "lobpcg", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "arg_names": ["A", "k", "B", "X", "n", "iK", "niter", "tol", "largest", "method", "tracker", "ortho_iparams", "ortho_fparams", "ortho_bparams"], "arg_types": ["torch._tensor.Tensor", {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._tensor.Tensor", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.float", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.bool", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}, {".class": "NoneType"}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.int"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.float"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}, {".class": "UnionType", "items": [{".class": "Instance", "args": ["builtins.str", "builtins.bool"], "type_ref": "builtins.dict"}, {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "lobpcg", "ret_type": {".class": "TupleType", "implicit": false, "items": ["torch._tensor.Tensor", "torch._tensor.Tensor"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}, "type_guard": null, "variables": []}}}, "torch": {".class": "SymbolTableNode", "cross_ref": "torch", "kind": "Gdef", "module_public": false}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/torch/_lobpcg.py"}