{".class": "MypyFile", "_fullname": "torch.nn.parameter", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": true, "names": {".class": "SymbolTable", "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Parameter": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch._tensor.Tensor"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.nn.parameter.Parameter", "name": "Parameter", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.nn.parameter.Parameter", "has_param_spec_type": false, "metaclass_type": "torch._C._TensorMeta", "metadata": {}, "module_name": "torch.nn.parameter", "mro": ["torch.nn.parameter.Parameter", "torch._tensor.Tensor", "torch._C._TensorBase", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["self", "data", "requires_grad"], "flags": [], "fullname": "torch.nn.parameter.Parameter.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1], "arg_names": ["self", "data", "requires_grad"], "arg_types": ["torch.nn.parameter.Parameter", "torch._tensor.Tensor", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of Parameter", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Tensor": {".class": "SymbolTableNode", "cross_ref": "torch._tensor.Tensor", "kind": "Gdef", "module_hidden": true, "module_public": false}, "Tuple": {".class": "SymbolTableNode", "cross_ref": "typing.Tuple", "kind": "Gdef", "module_hidden": true, "module_public": false}, "UninitializedBuffer": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch._tensor.Tensor"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.nn.parameter.UninitializedBuffer", "name": "UninitializedBuffer", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.nn.parameter.UninitializedBuffer", "has_param_spec_type": false, "metaclass_type": "torch._C._TensorMeta", "metadata": {}, "module_name": "torch.nn.parameter", "mro": ["torch.nn.parameter.UninitializedBuffer", "torch._tensor.Tensor", "torch._C._TensorBase", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["self", "data", "requires_grad"], "flags": [], "fullname": "torch.nn.parameter.UninitializedBuffer.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1], "arg_names": ["self", "data", "requires_grad"], "arg_types": ["torch.nn.parameter.UninitializedBuffer", "torch._tensor.Tensor", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of UninitializedBuffer", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "materialize": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "shape", "device", "dtype"], "flags": [], "fullname": "torch.nn.parameter.UninitializedBuffer.materialize", "name": "materialize", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "shape", "device", "dtype"], "arg_types": ["torch.nn.parameter.UninitializedBuffer", {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "UnionType", "items": ["torch._C.device", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._C.dtype", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "materialize of UninitializedBuffer", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "UninitializedParameter": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch._tensor.Tensor"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.nn.parameter.UninitializedParameter", "name": "UninitializedParameter", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.nn.parameter.UninitializedParameter", "has_param_spec_type": false, "metaclass_type": "torch._C._TensorMeta", "metadata": {}, "module_name": "torch.nn.parameter", "mro": ["torch.nn.parameter.UninitializedParameter", "torch._tensor.Tensor", "torch._C._TensorBase", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["self", "data", "requires_grad"], "flags": [], "fullname": "torch.nn.parameter.UninitializedParameter.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1], "arg_names": ["self", "data", "requires_grad"], "arg_types": ["torch.nn.parameter.UninitializedParameter", "torch._tensor.Tensor", "builtins.bool"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of UninitializedParameter", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "materialize": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "shape", "device", "dtype"], "flags": [], "fullname": "torch.nn.parameter.UninitializedParameter.materialize", "name": "materialize", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1], "arg_names": ["self", "shape", "device", "dtype"], "arg_types": ["torch.nn.parameter.UninitializedParameter", {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}, {".class": "UnionType", "items": ["torch._C.device", {".class": "NoneType"}]}, {".class": "UnionType", "items": ["torch._C.dtype", {".class": "NoneType"}]}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "materialize of UninitializedParameter", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "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.nn.parameter.__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.nn.parameter.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.parameter.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.parameter.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.parameter.__package__", "name": "__package__", "type": "builtins.str"}}, "builtins": {".class": "SymbolTableNode", "cross_ref": "builtins", "kind": "Gdef", "module_hidden": true, "module_public": false}, "is_lazy": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["param"], "flags": [], "fullname": "torch.nn.parameter.is_lazy", "name": "is_lazy", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["param"], "arg_types": ["torch._tensor.Tensor"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "is_lazy", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "torch": {".class": "SymbolTableNode", "cross_ref": "torch", "kind": "Gdef", "module_hidden": true, "module_public": false}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/torch/nn/parameter.pyi"}