| {".class": "MypyFile", "_fullname": "torch.utils.data.communication.iter", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "DEFAULT_NON_BLOCKING_SLEEP": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready", "has_explicit_value"], "fullname": "torch.utils.data.communication.iter.DEFAULT_NON_BLOCKING_SLEEP", "name": "DEFAULT_NON_BLOCKING_SLEEP", "type": "builtins.float"}}, "DataPipeBehindQueues": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 1], "arg_names": ["source_datapipe", "protocol", "full_stop", "blocking_request_get"], "flags": ["is_generator"], "fullname": "torch.utils.data.communication.iter.DataPipeBehindQueues", "name": "DataPipeBehindQueues", "type": null}}, "EnsureNonBlockingDataPipe": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["validated_datapipe"], "flags": [], "fullname": "torch.utils.data.communication.iter.EnsureNonBlockingDataPipe", "name": "EnsureNonBlockingDataPipe", "type": null}}, "InvalidStateResetRequired": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.Exception"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.utils.data.communication.iter.InvalidStateResetRequired", "name": "InvalidStateResetRequired", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.utils.data.communication.iter.InvalidStateResetRequired", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.utils.data.communication.iter", "mro": ["torch.utils.data.communication.iter.InvalidStateResetRequired", "builtins.Exception", "builtins.BaseException", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "IterDataPipe": {".class": "SymbolTableNode", "cross_ref": "torch.utils.data.dataset.IterDataPipe", "kind": "Gdef"}, "NonBlocking": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "torch.utils.data.dataset.IterDataPipe"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.utils.data.communication.iter.NonBlocking", "name": "NonBlocking", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.utils.data.communication.iter.NonBlocking", "has_param_spec_type": false, "metaclass_type": "torch.utils.data._typing._DataPipeMeta", "metadata": {}, "module_name": "torch.utils.data.communication.iter", "mro": ["torch.utils.data.communication.iter.NonBlocking", "torch.utils.data.dataset.IterDataPipe", "torch.utils.data.dataset.IterableDataset", "torch.utils.data.dataset.Dataset", "builtins.object"], "names": {".class": "SymbolTable", "__iter__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "torch.utils.data.communication.iter.NonBlocking.__iter__", "name": "__iter__", "type": null}}, "__next__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.utils.data.communication.iter.NonBlocking.__next__", "name": "__next__", "type": null}}, "nonblocking_next": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.utils.data.communication.iter.NonBlocking.nonblocking_next", "name": "nonblocking_next", "type": null}}, "not_available_hook": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "has_explicit_value"], "fullname": "torch.utils.data.communication.iter.NonBlocking.not_available_hook", "name": "not_available_hook", "type": {".class": "CallableType", "arg_kinds": [], "arg_names": [], "arg_types": [], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": null, "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "register_not_available_hook": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["hook_function"], "flags": ["is_static", "is_decorated"], "fullname": "torch.utils.data.communication.iter.NonBlocking.register_not_available_hook", "name": "register_not_available_hook", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_staticmethod", "is_ready"], "fullname": null, "name": "register_not_available_hook", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["hook_function"], "arg_types": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": null}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "register_not_available_hook of NonBlocking", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "reset_iterator": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.utils.data.communication.iter.NonBlocking.reset_iterator", "name": "reset_iterator", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "NotAvailable": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.Exception"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.utils.data.communication.iter.NotAvailable", "name": "NotAvailable", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.utils.data.communication.iter.NotAvailable", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.utils.data.communication.iter", "mro": ["torch.utils.data.communication.iter.NotAvailable", "builtins.Exception", "builtins.BaseException", "builtins.object"], "names": {".class": "SymbolTable"}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "QueueWrapper": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.utils.data.communication.iter.NonBlocking"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.utils.data.communication.iter.QueueWrapper", "name": "QueueWrapper", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.utils.data.communication.iter.QueueWrapper", "has_param_spec_type": false, "metaclass_type": "torch.utils.data._typing._DataPipeMeta", "metadata": {}, "module_name": "torch.utils.data.communication.iter", "mro": ["torch.utils.data.communication.iter.QueueWrapper", "torch.utils.data.communication.iter.NonBlocking", "torch.utils.data.dataset.IterDataPipe", "torch.utils.data.dataset.IterableDataset", "torch.utils.data.dataset.Dataset", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1], "arg_names": ["self", "protocol", "response_wait_time"], "flags": [], "fullname": "torch.utils.data.communication.iter.QueueWrapper.__init__", "name": "__init__", "type": null}}, "_response_wait_time": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.utils.data.communication.iter.QueueWrapper._response_wait_time", "name": "_response_wait_time", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_stop_iteration": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.utils.data.communication.iter.QueueWrapper._stop_iteration", "name": "_stop_iteration", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "counter": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.utils.data.communication.iter.QueueWrapper.counter", "name": "counter", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "nonblocking_next": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.utils.data.communication.iter.QueueWrapper.nonblocking_next", "name": "nonblocking_next", "type": null}}, "protocol": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.utils.data.communication.iter.QueueWrapper.protocol", "name": "protocol", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "reset_iterator": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.utils.data.communication.iter.QueueWrapper.reset_iterator", "name": "reset_iterator", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.utils.data.communication.iter.__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.utils.data.communication.iter.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.utils.data.communication.iter.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.utils.data.communication.iter.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.utils.data.communication.iter.__package__", "name": "__package__", "type": "builtins.str"}}, "communication": {".class": "SymbolTableNode", "cross_ref": "torch.utils.data.communication", "kind": "Gdef"}, "default_not_available_hook": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [], "arg_names": [], "flags": [], "fullname": "torch.utils.data.communication.iter.default_not_available_hook", "name": "default_not_available_hook", "type": null}}, "time": {".class": "SymbolTableNode", "cross_ref": "time", "kind": "Gdef"}, "types": {".class": "SymbolTableNode", "cross_ref": "types", "kind": "Gdef"}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/torch/utils/data/communication/iter.py"} |