File size: 8,615 Bytes
c7a0c46 | 1 | {".class": "MypyFile", "_fullname": "torch.nn.modules.pixelshuffle", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "F": {".class": "SymbolTableNode", "cross_ref": "torch.nn.functional", "kind": "Gdef"}, "Module": {".class": "SymbolTableNode", "cross_ref": "torch.nn.modules.module.Module", "kind": "Gdef"}, "PixelShuffle": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.nn.modules.module.Module"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.nn.modules.pixelshuffle.PixelShuffle", "name": "PixelShuffle", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.nn.modules.pixelshuffle.PixelShuffle", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.nn.modules.pixelshuffle", "mro": ["torch.nn.modules.pixelshuffle.PixelShuffle", "torch.nn.modules.module.Module", "builtins.object"], "names": {".class": "SymbolTable", "__constants__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value"], "fullname": "torch.nn.modules.pixelshuffle.PixelShuffle.__constants__", "name": "__constants__", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "upscale_factor"], "flags": [], "fullname": "torch.nn.modules.pixelshuffle.PixelShuffle.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "upscale_factor"], "arg_types": ["torch.nn.modules.pixelshuffle.PixelShuffle", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of PixelShuffle", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "extra_repr": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.nn.modules.pixelshuffle.PixelShuffle.extra_repr", "name": "extra_repr", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.nn.modules.pixelshuffle.PixelShuffle"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "extra_repr of PixelShuffle", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "forward": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "input"], "flags": [], "fullname": "torch.nn.modules.pixelshuffle.PixelShuffle.forward", "name": "forward", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "input"], "arg_types": ["torch.nn.modules.pixelshuffle.PixelShuffle", "torch._tensor.Tensor"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "forward of PixelShuffle", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "upscale_factor": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.pixelshuffle.PixelShuffle.upscale_factor", "name": "upscale_factor", "type": "builtins.int"}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "PixelUnshuffle": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.nn.modules.module.Module"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.nn.modules.pixelshuffle.PixelUnshuffle", "name": "PixelUnshuffle", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.nn.modules.pixelshuffle.PixelUnshuffle", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.nn.modules.pixelshuffle", "mro": ["torch.nn.modules.pixelshuffle.PixelUnshuffle", "torch.nn.modules.module.Module", "builtins.object"], "names": {".class": "SymbolTable", "__constants__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value"], "fullname": "torch.nn.modules.pixelshuffle.PixelUnshuffle.__constants__", "name": "__constants__", "type": {".class": "Instance", "args": ["builtins.str"], "type_ref": "builtins.list"}}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "downscale_factor"], "flags": [], "fullname": "torch.nn.modules.pixelshuffle.PixelUnshuffle.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "downscale_factor"], "arg_types": ["torch.nn.modules.pixelshuffle.PixelUnshuffle", "builtins.int"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "__init__ of PixelUnshuffle", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "downscale_factor": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.pixelshuffle.PixelUnshuffle.downscale_factor", "name": "downscale_factor", "type": "builtins.int"}}, "extra_repr": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.nn.modules.pixelshuffle.PixelUnshuffle.extra_repr", "name": "extra_repr", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.nn.modules.pixelshuffle.PixelUnshuffle"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "extra_repr of PixelUnshuffle", "ret_type": "builtins.str", "type_guard": null, "variables": []}}}, "forward": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "input"], "flags": [], "fullname": "torch.nn.modules.pixelshuffle.PixelUnshuffle.forward", "name": "forward", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "input"], "arg_types": ["torch.nn.modules.pixelshuffle.PixelUnshuffle", "torch._tensor.Tensor"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": false, "is_ellipsis_args": false, "name": "forward of PixelUnshuffle", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Tensor": {".class": "SymbolTableNode", "cross_ref": "torch._tensor.Tensor", "kind": "Gdef"}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.modules.pixelshuffle.__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.modules.pixelshuffle.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.modules.pixelshuffle.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.modules.pixelshuffle.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.modules.pixelshuffle.__package__", "name": "__package__", "type": "builtins.str"}}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/torch/nn/modules/pixelshuffle.py"} |