Patrick von Platen 0c7fe37e2f add hf hub
2021-12-08 23:01:51 +01:00

1 line
10 KiB
JSON

{".class": "MypyFile", "_fullname": "torch.nn.modules.fold", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "F": {".class": "SymbolTableNode", "cross_ref": "torch.nn.functional", "kind": "Gdef"}, "Fold": {".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.fold.Fold", "name": "Fold", "type_vars": []}, "flags": [], "fullname": "torch.nn.modules.fold.Fold", "metaclass_type": null, "metadata": {}, "module_name": "torch.nn.modules.fold", "mro": ["torch.nn.modules.fold.Fold", "torch.nn.modules.module.Module", "builtins.object"], "names": {".class": "SymbolTable", "__constants__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.nn.modules.fold.Fold.__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, 0, 1, 1, 1], "arg_names": ["self", "output_size", "kernel_size", "dilation", "padding", "stride"], "flags": [], "fullname": "torch.nn.modules.fold.Fold.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 1, 1, 1], "arg_names": ["self", "output_size", "kernel_size", "dilation", "padding", "stride"], "arg_types": ["torch.nn.modules.fold.Fold", {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}, {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}, {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}, {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}, {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of Fold", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "dilation": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.fold.Fold.dilation", "name": "dilation", "type": {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}}}, "extra_repr": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.nn.modules.fold.Fold.extra_repr", "name": "extra_repr", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.nn.modules.fold.Fold"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "extra_repr of Fold", "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.fold.Fold.forward", "name": "forward", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "input"], "arg_types": ["torch.nn.modules.fold.Fold", "torch._tensor.Tensor"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "forward of Fold", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "kernel_size": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.fold.Fold.kernel_size", "name": "kernel_size", "type": {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}}}, "output_size": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.fold.Fold.output_size", "name": "output_size", "type": {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}}}, "padding": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.fold.Fold.padding", "name": "padding", "type": {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}}}, "stride": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.fold.Fold.stride", "name": "stride", "type": {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Module": {".class": "SymbolTableNode", "cross_ref": "torch.nn.modules.module.Module", "kind": "Gdef"}, "Tensor": {".class": "SymbolTableNode", "cross_ref": "torch._tensor.Tensor", "kind": "Gdef"}, "Unfold": {".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.fold.Unfold", "name": "Unfold", "type_vars": []}, "flags": [], "fullname": "torch.nn.modules.fold.Unfold", "metaclass_type": null, "metadata": {}, "module_name": "torch.nn.modules.fold", "mro": ["torch.nn.modules.fold.Unfold", "torch.nn.modules.module.Module", "builtins.object"], "names": {".class": "SymbolTable", "__constants__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.nn.modules.fold.Unfold.__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, 1, 1, 1], "arg_names": ["self", "kernel_size", "dilation", "padding", "stride"], "flags": [], "fullname": "torch.nn.modules.fold.Unfold.__init__", "name": "__init__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 1, 1, 1], "arg_names": ["self", "kernel_size", "dilation", "padding", "stride"], "arg_types": ["torch.nn.modules.fold.Unfold", {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}, {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}, {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}, {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__init__ of Unfold", "ret_type": {".class": "NoneType"}, "type_guard": null, "variables": []}}}, "dilation": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.fold.Unfold.dilation", "name": "dilation", "type": {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}}}, "extra_repr": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.nn.modules.fold.Unfold.extra_repr", "name": "extra_repr", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.nn.modules.fold.Unfold"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "extra_repr of Unfold", "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.fold.Unfold.forward", "name": "forward", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["self", "input"], "arg_types": ["torch.nn.modules.fold.Unfold", "torch._tensor.Tensor"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "forward of Unfold", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "kernel_size": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.fold.Unfold.kernel_size", "name": "kernel_size", "type": {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}}}, "padding": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.fold.Unfold.padding", "name": "padding", "type": {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}}}, "stride": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.nn.modules.fold.Unfold.stride", "name": "stride", "type": {".class": "TypeAliasType", "args": [], "type_ref": "torch.nn.common_types._size_any_t"}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.modules.fold.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.modules.fold.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.modules.fold.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.modules.fold.__package__", "name": "__package__", "type": "builtins.str"}}, "_size_any_t": {".class": "SymbolTableNode", "cross_ref": "torch.nn.common_types._size_any_t", "kind": "Gdef"}}, "path": "/home/patrick/anaconda3/lib/python3.9/site-packages/torch/nn/modules/fold.py"}