{".class": "MypyFile", "_fullname": "torch.cuda.streams", "future_import_flags": [], "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "Event": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch._C._CudaEventBase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.streams.Event", "name": "Event", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.streams.Event", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda.streams", "mro": ["torch.cuda.streams.Event", "torch._C._CudaEventBase", "builtins.object"], "names": {".class": "SymbolTable", "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1], "arg_names": ["cls", "enable_timing", "blocking", "interprocess"], "flags": [], "fullname": "torch.cuda.streams.Event.__new__", "name": "__new__", "type": null}}, "__repr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "torch.cuda.streams.Event.__repr__", "name": "__repr__", "type": null}}, "_as_parameter_": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.cuda.streams.Event._as_parameter_", "name": "_as_parameter_", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "_as_parameter_", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.cuda.streams.Event"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "_as_parameter_ of Event", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "elapsed_time": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "end_event"], "flags": [], "fullname": "torch.cuda.streams.Event.elapsed_time", "name": "elapsed_time", "type": null}}, "from_ipc_handle": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["cls", "device", "handle"], "flags": ["is_class", "is_decorated"], "fullname": "torch.cuda.streams.Event.from_ipc_handle", "name": "from_ipc_handle", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_classmethod", "is_ready"], "fullname": null, "name": "from_ipc_handle", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["cls", "device", "handle"], "arg_types": [{".class": "TypeType", "item": "torch.cuda.streams.Event"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {"first_arg": "cls"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "from_ipc_handle of Event", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "ipc_handle": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.cuda.streams.Event.ipc_handle", "name": "ipc_handle", "type": null}}, "query": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.cuda.streams.Event.query", "name": "query", "type": null}}, "record": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "stream"], "flags": [], "fullname": "torch.cuda.streams.Event.record", "name": "record", "type": null}}, "synchronize": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.cuda.streams.Event.synchronize", "name": "synchronize", "type": null}}, "wait": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "stream"], "flags": [], "fullname": "torch.cuda.streams.Event.wait", "name": "wait", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "ExternalStream": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.cuda.streams.Stream"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.streams.ExternalStream", "name": "ExternalStream", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.streams.ExternalStream", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda.streams", "mro": ["torch.cuda.streams.ExternalStream", "torch.cuda.streams.Stream", "torch._C._CudaStreamBase", "builtins.object"], "names": {".class": "SymbolTable", "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 1, 4], "arg_names": ["cls", "stream_ptr", "device", "kwargs"], "flags": [], "fullname": "torch.cuda.streams.ExternalStream.__new__", "name": "__new__", "type": null}}}, "slots": null, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Stream": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch._C._CudaStreamBase"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.cuda.streams.Stream", "name": "Stream", "type_vars": []}, "deletable_attributes": [], "flags": [], "fullname": "torch.cuda.streams.Stream", "has_param_spec_type": false, "metaclass_type": null, "metadata": {}, "module_name": "torch.cuda.streams", "mro": ["torch.cuda.streams.Stream", "torch._C._CudaStreamBase", "builtins.object"], "names": {".class": "SymbolTable", "__eq__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": [null, null], "flags": [], "fullname": "torch.cuda.streams.Stream.__eq__", "name": "__eq__", "type": null}}, "__hash__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.cuda.streams.Stream.__hash__", "name": "__hash__", "type": null}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 4], "arg_names": ["cls", "device", "priority", "kwargs"], "flags": [], "fullname": "torch.cuda.streams.Stream.__new__", "name": "__new__", "type": null}}, "__repr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": [null], "flags": [], "fullname": "torch.cuda.streams.Stream.__repr__", "name": "__repr__", "type": null}}, "_as_parameter_": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.cuda.streams.Stream._as_parameter_", "name": "_as_parameter_", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "_as_parameter_", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.cuda.streams.Stream"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "from_concatenate": false, "implicit": true, "is_ellipsis_args": false, "name": "_as_parameter_ of Stream", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "query": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.cuda.streams.Stream.query", "name": "query", "type": null}}, "record_event": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["self", "event"], "flags": [], "fullname": "torch.cuda.streams.Stream.record_event", "name": "record_event", "type": null}}, "synchronize": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.cuda.streams.Stream.synchronize", "name": "synchronize", "type": null}}, "wait_event": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "event"], "flags": [], "fullname": "torch.cuda.streams.Stream.wait_event", "name": "wait_event", "type": null}}, "wait_stream": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "stream"], "flags": [], "fullname": "torch.cuda.streams.Stream.wait_stream", "name": "wait_stream", "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.cuda.streams.__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.cuda.streams.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.cuda.streams.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.cuda.streams.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.cuda.streams.__package__", "name": "__package__", "type": "builtins.str"}}, "_dummy_type": {".class": "SymbolTableNode", "cross_ref": "torch.cuda._utils._dummy_type", "kind": "Gdef"}, "ctypes": {".class": "SymbolTableNode", "cross_ref": "ctypes", "kind": "Gdef"}, "torch": {".class": "SymbolTableNode", "cross_ref": "torch", "kind": "Gdef"}}, "path": "/home/patrick/hf/lib/python3.7/site-packages/torch/cuda/streams.py"}