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

1 line
7.2 KiB
JSON

{".class": "MypyFile", "_fullname": "torch.distributions.cauchy", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Cauchy": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.distributions.distribution.Distribution"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.distributions.cauchy.Cauchy", "name": "Cauchy", "type_vars": []}, "flags": [], "fullname": "torch.distributions.cauchy.Cauchy", "metaclass_type": null, "metadata": {}, "module_name": "torch.distributions.cauchy", "mro": ["torch.distributions.cauchy.Cauchy", "torch.distributions.distribution.Distribution", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 1], "arg_names": ["self", "loc", "scale", "validate_args"], "flags": [], "fullname": "torch.distributions.cauchy.Cauchy.__init__", "name": "__init__", "type": null}}, "arg_constraints": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.distributions.cauchy.Cauchy.arg_constraints", "name": "arg_constraints", "type": {".class": "Instance", "args": ["builtins.str", "torch.distributions.constraints.Constraint"], "type_ref": "builtins.dict"}}}, "cdf": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "value"], "flags": [], "fullname": "torch.distributions.cauchy.Cauchy.cdf", "name": "cdf", "type": null}}, "entropy": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.distributions.cauchy.Cauchy.entropy", "name": "entropy", "type": null}}, "expand": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "batch_shape", "_instance"], "flags": [], "fullname": "torch.distributions.cauchy.Cauchy.expand", "name": "expand", "type": null}}, "has_rsample": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.distributions.cauchy.Cauchy.has_rsample", "name": "has_rsample", "type": "builtins.bool"}}, "icdf": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "value"], "flags": [], "fullname": "torch.distributions.cauchy.Cauchy.icdf", "name": "icdf", "type": null}}, "loc": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.distributions.cauchy.Cauchy.loc", "name": "loc", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "log_prob": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "value"], "flags": [], "fullname": "torch.distributions.cauchy.Cauchy.log_prob", "name": "log_prob", "type": null}}, "mean": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.distributions.cauchy.Cauchy.mean", "name": "mean", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "mean", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.distributions.cauchy.Cauchy"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "mean of Cauchy", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "rsample": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "sample_shape"], "flags": [], "fullname": "torch.distributions.cauchy.Cauchy.rsample", "name": "rsample", "type": null}}, "scale": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.distributions.cauchy.Cauchy.scale", "name": "scale", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "support": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.distributions.cauchy.Cauchy.support", "name": "support", "type": "torch.distributions.constraints._Real"}}, "variance": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.distributions.cauchy.Cauchy.variance", "name": "variance", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "variance", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.distributions.cauchy.Cauchy"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "variance of Cauchy", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Distribution": {".class": "SymbolTableNode", "cross_ref": "torch.distributions.distribution.Distribution", "kind": "Gdef"}, "Number": {".class": "SymbolTableNode", "cross_ref": "numbers.Number", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.distributions.cauchy.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.distributions.cauchy.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.distributions.cauchy.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.distributions.cauchy.__package__", "name": "__package__", "type": "builtins.str"}}, "broadcast_all": {".class": "SymbolTableNode", "cross_ref": "torch.distributions.utils.broadcast_all", "kind": "Gdef"}, "constraints": {".class": "SymbolTableNode", "cross_ref": "torch.distributions.constraints", "kind": "Gdef"}, "inf": {".class": "SymbolTableNode", "cross_ref": "torch._six.inf", "kind": "Gdef"}, "math": {".class": "SymbolTableNode", "cross_ref": "math", "kind": "Gdef"}, "nan": {".class": "SymbolTableNode", "cross_ref": "torch._six.nan", "kind": "Gdef"}, "torch": {".class": "SymbolTableNode", "cross_ref": "torch", "kind": "Gdef"}}, "path": "/home/patrick/anaconda3/lib/python3.9/site-packages/torch/distributions/cauchy.py"}