icefall/.mypy_cache/3.9/torch/nn/init.data.json
Patrick von Platen 0c7fe37e2f add hf hub
2021-12-08 23:01:51 +01:00

1 line
12 KiB
JSON

{".class": "MypyFile", "_fullname": "torch.nn.init", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Tensor": {".class": "SymbolTableNode", "cross_ref": "torch._tensor.Tensor", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.init.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.init.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.init.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.nn.init.__package__", "name": "__package__", "type": "builtins.str"}}, "_calculate_correct_fan": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["tensor", "mode"], "flags": [], "fullname": "torch.nn.init._calculate_correct_fan", "name": "_calculate_correct_fan", "type": null}}, "_calculate_fan_in_and_fan_out": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["tensor"], "flags": [], "fullname": "torch.nn.init._calculate_fan_in_and_fan_out", "name": "_calculate_fan_in_and_fan_out", "type": null}}, "_make_deprecate": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["meth"], "flags": [], "fullname": "torch.nn.init._make_deprecate", "name": "_make_deprecate", "type": null}}, "_no_grad_fill_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["tensor", "val"], "flags": [], "fullname": "torch.nn.init._no_grad_fill_", "name": "_no_grad_fill_", "type": null}}, "_no_grad_normal_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["tensor", "mean", "std"], "flags": [], "fullname": "torch.nn.init._no_grad_normal_", "name": "_no_grad_normal_", "type": null}}, "_no_grad_trunc_normal_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0], "arg_names": ["tensor", "mean", "std", "a", "b"], "flags": [], "fullname": "torch.nn.init._no_grad_trunc_normal_", "name": "_no_grad_trunc_normal_", "type": null}}, "_no_grad_uniform_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["tensor", "a", "b"], "flags": [], "fullname": "torch.nn.init._no_grad_uniform_", "name": "_no_grad_uniform_", "type": null}}, "_no_grad_zero_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["tensor"], "flags": [], "fullname": "torch.nn.init._no_grad_zero_", "name": "_no_grad_zero_", "type": null}}, "calculate_gain": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["nonlinearity", "param"], "flags": [], "fullname": "torch.nn.init.calculate_gain", "name": "calculate_gain", "type": null}}, "constant": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.constant", "name": "constant", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "constant_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["tensor", "val"], "flags": [], "fullname": "torch.nn.init.constant_", "name": "constant_", "type": {".class": "CallableType", "arg_kinds": [0, 0], "arg_names": ["tensor", "val"], "arg_types": ["torch._tensor.Tensor", "builtins.float"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "constant_", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "dirac": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.dirac", "name": "dirac", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "dirac_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["tensor", "groups"], "flags": [], "fullname": "torch.nn.init.dirac_", "name": "dirac_", "type": null}}, "eye": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.eye", "name": "eye", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "eye_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["tensor"], "flags": [], "fullname": "torch.nn.init.eye_", "name": "eye_", "type": null}}, "kaiming_normal": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.kaiming_normal", "name": "kaiming_normal", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "kaiming_normal_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1], "arg_names": ["tensor", "a", "mode", "nonlinearity"], "flags": [], "fullname": "torch.nn.init.kaiming_normal_", "name": "kaiming_normal_", "type": null}}, "kaiming_uniform": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.kaiming_uniform", "name": "kaiming_uniform", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "kaiming_uniform_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1], "arg_names": ["tensor", "a", "mode", "nonlinearity"], "flags": [], "fullname": "torch.nn.init.kaiming_uniform_", "name": "kaiming_uniform_", "type": null}}, "math": {".class": "SymbolTableNode", "cross_ref": "math", "kind": "Gdef"}, "normal": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.normal", "name": "normal", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "normal_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["tensor", "mean", "std"], "flags": [], "fullname": "torch.nn.init.normal_", "name": "normal_", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1], "arg_names": ["tensor", "mean", "std"], "arg_types": ["torch._tensor.Tensor", "builtins.float", "builtins.float"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "normal_", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "ones_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["tensor"], "flags": [], "fullname": "torch.nn.init.ones_", "name": "ones_", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["tensor"], "arg_types": ["torch._tensor.Tensor"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "ones_", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "orthogonal": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.orthogonal", "name": "orthogonal", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "orthogonal_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["tensor", "gain"], "flags": [], "fullname": "torch.nn.init.orthogonal_", "name": "orthogonal_", "type": null}}, "sparse": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.sparse", "name": "sparse", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "sparse_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["tensor", "sparsity", "std"], "flags": [], "fullname": "torch.nn.init.sparse_", "name": "sparse_", "type": null}}, "torch": {".class": "SymbolTableNode", "cross_ref": "torch", "kind": "Gdef"}, "trunc_normal_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1], "arg_names": ["tensor", "mean", "std", "a", "b"], "flags": [], "fullname": "torch.nn.init.trunc_normal_", "name": "trunc_normal_", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1, 1, 1], "arg_names": ["tensor", "mean", "std", "a", "b"], "arg_types": ["torch._tensor.Tensor", "builtins.float", "builtins.float", "builtins.float", "builtins.float"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "trunc_normal_", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "uniform": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.uniform", "name": "uniform", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "uniform_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["tensor", "a", "b"], "flags": [], "fullname": "torch.nn.init.uniform_", "name": "uniform_", "type": {".class": "CallableType", "arg_kinds": [0, 1, 1], "arg_names": ["tensor", "a", "b"], "arg_types": ["torch._tensor.Tensor", "builtins.float", "builtins.float"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "uniform_", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "warnings": {".class": "SymbolTableNode", "cross_ref": "warnings", "kind": "Gdef"}, "xavier_normal": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.xavier_normal", "name": "xavier_normal", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "xavier_normal_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["tensor", "gain"], "flags": [], "fullname": "torch.nn.init.xavier_normal_", "name": "xavier_normal_", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["tensor", "gain"], "arg_types": ["torch._tensor.Tensor", "builtins.float"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "xavier_normal_", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "xavier_uniform": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": [], "fullname": "torch.nn.init.xavier_uniform", "name": "xavier_uniform", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "xavier_uniform_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["tensor", "gain"], "flags": [], "fullname": "torch.nn.init.xavier_uniform_", "name": "xavier_uniform_", "type": {".class": "CallableType", "arg_kinds": [0, 1], "arg_names": ["tensor", "gain"], "arg_types": ["torch._tensor.Tensor", "builtins.float"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "xavier_uniform_", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}, "zeros_": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["tensor"], "flags": [], "fullname": "torch.nn.init.zeros_", "name": "zeros_", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["tensor"], "arg_types": ["torch._tensor.Tensor"], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "zeros_", "ret_type": "torch._tensor.Tensor", "type_guard": null, "variables": []}}}}, "path": "/home/patrick/anaconda3/lib/python3.9/site-packages/torch/nn/init.py"}