{".class": "MypyFile", "_fullname": "torch.optim.sgd", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "Optimizer": {".class": "SymbolTableNode", "cross_ref": "torch.optim.optimizer.Optimizer", "kind": "Gdef", "module_hidden": true, "module_public": false}, "SGD": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.optim.optimizer.Optimizer"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.optim.sgd.SGD", "name": "SGD", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.optim.sgd.SGD", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.optim.sgd", "mro": ["torch.optim.sgd.SGD", "torch.optim.optimizer.Optimizer", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1, 1, 1, 1], "arg_names": ["self", "params", "lr", "momentum", "dampening", "weight_decay", "nesterov"], "flags": [], "fullname": "torch.optim.sgd.SGD.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 1, 1, 1], "arg_names": ["self", "params", "lr", "momentum", "dampening", "weight_decay", "nesterov"], "arg_types": ["torch.optim.sgd.SGD", {".class": "TypeAliasType", "args": [], "type_ref": "torch.optim.optimizer._params_t"}, "builtins.float", "builtins.float", "builtins.float", "builtins.float", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of SGD", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.optim.sgd.__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.optim.sgd.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.optim.sgd.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.optim.sgd.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.optim.sgd.__package__", "name": "__package__", "type": "builtins.str"}}, "_params_t": {".class": "SymbolTableNode", "cross_ref": "torch.optim.optimizer._params_t", "kind": "Gdef", "module_hidden": true, "module_public": false}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/torch/optim/sgd.pyi"}