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

1 line
63 KiB
JSON

{".class": "MypyFile", "_fullname": "torch.autograd.profiler_util", "is_partial_stub_package": false, "is_stub": false, "names": {".class": "SymbolTable", "DeviceType": {".class": "SymbolTableNode", "cross_ref": "torch._C._autograd.DeviceType", "kind": "Gdef"}, "Dict": {".class": "SymbolTableNode", "cross_ref": "typing.Dict", "kind": "Gdef"}, "EventList": {".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": "builtins.list"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.profiler_util.EventList", "name": "EventList", "type_vars": []}, "flags": [], "fullname": "torch.autograd.profiler_util.EventList", "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "torch.autograd.profiler_util", "mro": ["torch.autograd.profiler_util.EventList", "builtins.list", "typing.MutableSequence", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 2, 4], "arg_names": ["self", "args", "kwargs"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList.__init__", "name": "__init__", "type": null}}, "__str__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList.__str__", "name": "__str__", "type": null}}, "_build_tree": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList._build_tree", "name": "_build_tree", "type": null}}, "_populate_cpu_children": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList._populate_cpu_children", "name": "_populate_cpu_children", "type": null}}, "_profile_memory": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.profiler_util.EventList._profile_memory", "name": "_profile_memory", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_remove_dup_nodes": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList._remove_dup_nodes", "name": "_remove_dup_nodes", "type": null}}, "_set_backward_stacktraces": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList._set_backward_stacktraces", "name": "_set_backward_stacktraces", "type": null}}, "_tree_built": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.profiler_util.EventList._tree_built", "name": "_tree_built", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_use_cuda": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.profiler_util.EventList._use_cuda", "name": "_use_cuda", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_with_flops": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.profiler_util.EventList._with_flops", "name": "_with_flops", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "export_chrome_trace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "path"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList.export_chrome_trace", "name": "export_chrome_trace", "type": null}}, "export_stacks": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "path", "metric"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList.export_stacks", "name": "export_stacks", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0], "arg_names": ["self", "path", "metric"], "arg_types": ["torch.autograd.profiler_util.EventList", "builtins.str", "builtins.str"], "bound_args": [], "def_extras": {"first_arg": "self"}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "export_stacks of EventList", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}, "key_averages": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1], "arg_names": ["self", "group_by_input_shapes", "group_by_stack_n"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList.key_averages", "name": "key_averages", "type": null}}, "self_cpu_time_total": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.EventList.self_cpu_time_total", "name": "self_cpu_time_total", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "self_cpu_time_total", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.EventList"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "self_cpu_time_total of EventList", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "supported_export_stacks_metrics": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList.supported_export_stacks_metrics", "name": "supported_export_stacks_metrics", "type": null}}, "table": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1], "arg_names": ["self", "sort_by", "row_limit", "max_src_column_width", "header", "top_level_events_only"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList.table", "name": "table", "type": null}}, "total_average": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.EventList.total_average", "name": "total_average", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "FormattedTimesMixin": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.profiler_util.FormattedTimesMixin", "name": "FormattedTimesMixin", "type_vars": []}, "flags": [], "fullname": "torch.autograd.profiler_util.FormattedTimesMixin", "metaclass_type": null, "metadata": {}, "module_name": "torch.autograd.profiler_util", "mro": ["torch.autograd.profiler_util.FormattedTimesMixin", "builtins.object"], "names": {".class": "SymbolTable", "cpu_time": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.FormattedTimesMixin.cpu_time", "name": "cpu_time", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "cpu_time", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.FormattedTimesMixin"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "cpu_time of FormattedTimesMixin", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "cpu_time_str": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.autograd.profiler_util.FormattedTimesMixin.cpu_time_str", "name": "cpu_time_str", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "cpu_time_total_str": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.autograd.profiler_util.FormattedTimesMixin.cpu_time_total_str", "name": "cpu_time_total_str", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "cuda_time": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.FormattedTimesMixin.cuda_time", "name": "cuda_time", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "cuda_time", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.FormattedTimesMixin"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "cuda_time of FormattedTimesMixin", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "cuda_time_str": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.autograd.profiler_util.FormattedTimesMixin.cuda_time_str", "name": "cuda_time_str", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "cuda_time_total_str": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.autograd.profiler_util.FormattedTimesMixin.cuda_time_total_str", "name": "cuda_time_total_str", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "self_cpu_time_total_str": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.autograd.profiler_util.FormattedTimesMixin.self_cpu_time_total_str", "name": "self_cpu_time_total_str", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "self_cuda_time_total_str": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class"], "fullname": "torch.autograd.profiler_util.FormattedTimesMixin.self_cuda_time_total_str", "name": "self_cuda_time_total_str", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "FunctionEvent": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.autograd.profiler_util.FormattedTimesMixin"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.profiler_util.FunctionEvent", "name": "FunctionEvent", "type_vars": []}, "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEvent", "metaclass_type": null, "metadata": {}, "module_name": "torch.autograd.profiler_util", "mro": ["torch.autograd.profiler_util.FunctionEvent", "torch.autograd.profiler_util.FormattedTimesMixin", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], "arg_names": ["self", "id", "name", "thread", "start_us", "end_us", "fwd_thread", "input_shapes", "stack", "scope", "cpu_memory_usage", "cuda_memory_usage", "is_async", "is_remote", "sequence_nr", "node_id", "device_type", "device_index", "is_legacy", "flops", "trace_name"], "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEvent.__init__", "name": "__init__", "type": null}}, "__repr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEvent.__repr__", "name": "__repr__", "type": null}}, "append_cpu_child": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "child"], "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEvent.append_cpu_child", "name": "append_cpu_child", "type": null}}, "append_kernel": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["self", "name", "device", "duration"], "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEvent.append_kernel", "name": "append_kernel", "type": null}}, "count": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.count", "name": "count", "type": "builtins.int"}}, "cpu_children": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.cpu_children", "name": "cpu_children", "type": {".class": "Instance", "args": ["torch.autograd.profiler_util.FunctionEvent"], "type_ref": "builtins.list"}}}, "cpu_memory_usage": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.cpu_memory_usage", "name": "cpu_memory_usage", "type": "builtins.int"}}, "cpu_parent": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.cpu_parent", "name": "cpu_parent", "type": {".class": "UnionType", "items": ["torch.autograd.profiler_util.FunctionEvent", {".class": "NoneType"}]}}}, "cpu_time_total": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.FunctionEvent.cpu_time_total", "name": "cpu_time_total", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "cpu_time_total", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.FunctionEvent"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "cpu_time_total of FunctionEvent", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "cuda_memory_usage": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.cuda_memory_usage", "name": "cuda_memory_usage", "type": "builtins.int"}}, "cuda_time_total": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.FunctionEvent.cuda_time_total", "name": "cuda_time_total", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "cuda_time_total", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.FunctionEvent"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "cuda_time_total of FunctionEvent", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "device_index": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.device_index", "name": "device_index", "type": "builtins.int"}}, "device_type": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.device_type", "name": "device_type", "type": "torch._C._autograd.DeviceType"}}, "flops": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.flops", "name": "flops", "type": {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}}}, "fwd_thread": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.fwd_thread", "name": "fwd_thread", "type": {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}}}, "id": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.id", "name": "id", "type": "builtins.int"}}, "input_shapes": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.input_shapes", "name": "input_shapes", "type": {".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.tuple"}}}, "is_async": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.is_async", "name": "is_async", "type": "builtins.bool"}}, "is_legacy": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.is_legacy", "name": "is_legacy", "type": "builtins.bool"}}, "is_remote": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.is_remote", "name": "is_remote", "type": "builtins.bool"}}, "kernels": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.kernels", "name": "kernels", "type": {".class": "Instance", "args": [{".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": "torch.autograd.profiler_util.Kernel"}], "type_ref": "builtins.list"}}}, "key": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.FunctionEvent.key", "name": "key", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "key", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.FunctionEvent"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "key of FunctionEvent", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "name": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.name", "name": "name", "type": "builtins.str"}}, "node_id": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.node_id", "name": "node_id", "type": "builtins.int"}}, "scope": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.scope", "name": "scope", "type": "builtins.int"}}, "self_cpu_memory_usage": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.FunctionEvent.self_cpu_memory_usage", "name": "self_cpu_memory_usage", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "self_cpu_memory_usage", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.FunctionEvent"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "self_cpu_memory_usage of FunctionEvent", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "self_cpu_time_total": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.FunctionEvent.self_cpu_time_total", "name": "self_cpu_time_total", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "self_cpu_time_total", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.FunctionEvent"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "self_cpu_time_total of FunctionEvent", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "self_cuda_memory_usage": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.FunctionEvent.self_cuda_memory_usage", "name": "self_cuda_memory_usage", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "self_cuda_memory_usage", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.FunctionEvent"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "self_cuda_memory_usage of FunctionEvent", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "self_cuda_time_total": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": ["is_property", "is_decorated"], "fullname": "torch.autograd.profiler_util.FunctionEvent.self_cuda_time_total", "name": "self_cuda_time_total", "type": null}, "is_overload": false, "var": {".class": "Var", "flags": ["is_initialized_in_class", "is_property", "is_ready"], "fullname": null, "name": "self_cuda_time_total", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["self"], "arg_types": ["torch.autograd.profiler_util.FunctionEvent"], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": true, "is_ellipsis_args": false, "name": "self_cuda_time_total of FunctionEvent", "ret_type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}, "type_guard": null, "variables": []}}}}, "sequence_nr": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.sequence_nr", "name": "sequence_nr", "type": "builtins.int"}}, "set_cpu_parent": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "parent"], "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEvent.set_cpu_parent", "name": "set_cpu_parent", "type": null}}, "stack": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.stack", "name": "stack", "type": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "builtins.list"}}}, "thread": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.thread", "name": "thread", "type": "builtins.int"}}, "time_range": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.time_range", "name": "time_range", "type": "torch.autograd.profiler_util.Interval"}}, "trace_name": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEvent.trace_name", "name": "trace_name", "type": "builtins.str"}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "FunctionEventAvg": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["torch.autograd.profiler_util.FormattedTimesMixin"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.profiler_util.FunctionEventAvg", "name": "FunctionEventAvg", "type_vars": []}, "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEventAvg", "metaclass_type": null, "metadata": {}, "module_name": "torch.autograd.profiler_util", "mro": ["torch.autograd.profiler_util.FunctionEventAvg", "torch.autograd.profiler_util.FormattedTimesMixin", "builtins.object"], "names": {".class": "SymbolTable", "__iadd__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "other"], "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.__iadd__", "name": "__iadd__", "type": null}}, "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.__init__", "name": "__init__", "type": null}}, "__repr__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.__repr__", "name": "__repr__", "type": null}}, "add": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "other"], "flags": [], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.add", "name": "add", "type": null}}, "count": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.count", "name": "count", "type": "builtins.int"}}, "cpu_children": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.cpu_children", "name": "cpu_children", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": ["torch.autograd.profiler_util.FunctionEvent"], "type_ref": "builtins.list"}, {".class": "NoneType"}]}}}, "cpu_memory_usage": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.cpu_memory_usage", "name": "cpu_memory_usage", "type": "builtins.int"}}, "cpu_parent": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.cpu_parent", "name": "cpu_parent", "type": {".class": "UnionType", "items": ["torch.autograd.profiler_util.FunctionEvent", {".class": "NoneType"}]}}}, "cpu_time_total": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.cpu_time_total", "name": "cpu_time_total", "type": "builtins.int"}}, "cuda_memory_usage": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.cuda_memory_usage", "name": "cuda_memory_usage", "type": "builtins.int"}}, "cuda_time_total": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.cuda_time_total", "name": "cuda_time_total", "type": "builtins.int"}}, "device_type": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.device_type", "name": "device_type", "type": "torch._C._autograd.DeviceType"}}, "flops": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.flops", "name": "flops", "type": "builtins.int"}}, "input_shapes": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.input_shapes", "name": "input_shapes", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "Instance", "args": ["builtins.int"], "type_ref": "builtins.list"}], "type_ref": "builtins.list"}, {".class": "NoneType"}]}}}, "is_async": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.is_async", "name": "is_async", "type": "builtins.bool"}}, "is_legacy": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.is_legacy", "name": "is_legacy", "type": "builtins.bool"}}, "is_remote": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.is_remote", "name": "is_remote", "type": "builtins.bool"}}, "key": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.key", "name": "key", "type": {".class": "UnionType", "items": ["builtins.str", {".class": "NoneType"}]}}}, "node_id": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.node_id", "name": "node_id", "type": "builtins.int"}}, "scope": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.scope", "name": "scope", "type": {".class": "UnionType", "items": ["builtins.int", {".class": "NoneType"}]}}}, "self_cpu_memory_usage": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.self_cpu_memory_usage", "name": "self_cpu_memory_usage", "type": "builtins.int"}}, "self_cpu_time_total": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.self_cpu_time_total", "name": "self_cpu_time_total", "type": "builtins.int"}}, "self_cuda_memory_usage": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.self_cuda_memory_usage", "name": "self_cuda_memory_usage", "type": "builtins.int"}}, "self_cuda_time_total": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.self_cuda_time_total", "name": "self_cuda_time_total", "type": "builtins.int"}}, "stack": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": ["explicit_self_type", "is_ready"], "fullname": "torch.autograd.profiler_util.FunctionEventAvg.stack", "name": "stack", "type": {".class": "UnionType", "items": [{".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "builtins.list"}, {".class": "NoneType"}]}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Interval": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.profiler_util.Interval", "name": "Interval", "type_vars": []}, "flags": [], "fullname": "torch.autograd.profiler_util.Interval", "metaclass_type": null, "metadata": {}, "module_name": "torch.autograd.profiler_util", "mro": ["torch.autograd.profiler_util.Interval", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "start", "end"], "flags": [], "fullname": "torch.autograd.profiler_util.Interval.__init__", "name": "__init__", "type": null}}, "elapsed_us": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["self"], "flags": [], "fullname": "torch.autograd.profiler_util.Interval.elapsed_us", "name": "elapsed_us", "type": null}}, "end": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.profiler_util.Interval.end", "name": "end", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "start": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.profiler_util.Interval.start", "name": "start", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Kernel": {".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": 1}], "type_ref": "builtins.tuple"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.profiler_util.Kernel", "name": "Kernel", "type_vars": []}, "flags": ["is_named_tuple"], "fullname": "torch.autograd.profiler_util.Kernel", "metaclass_type": null, "metadata": {"namedtuple": {"fields": ["name", "device", "duration"]}}, "module_name": "torch.autograd.profiler_util", "mro": ["torch.autograd.profiler_util.Kernel", "builtins.tuple", "typing.Sequence", "typing.Collection", "typing.Reversible", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "_NT": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "TypeVarExpr", "fullname": "torch.autograd.profiler_util.Kernel._NT", "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, "__annotations__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel.__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": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__new__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0, 0], "arg_names": ["_cls", "name", "device", "duration"], "flags": [], "fullname": "torch.autograd.profiler_util.Kernel.__new__", "name": "__new__", "type": {".class": "CallableType", "arg_kinds": [0, 0, 0, 0], "arg_names": ["_cls", "name", "device", "duration"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "__new__ of Kernel", "ret_type": {".class": "TypeVarType", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarDef", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_asdict": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["_self"], "flags": [], "fullname": "torch.autograd.profiler_util.Kernel._asdict", "name": "_asdict", "type": {".class": "CallableType", "arg_kinds": [0], "arg_names": ["_self"], "arg_types": [{".class": "TypeVarType", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_asdict of Kernel", "ret_type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}, "type_guard": null, "variables": [{".class": "TypeVarDef", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_field_defaults": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel._field_defaults", "name": "_field_defaults", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_field_types": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel._field_types", "name": "_field_types", "type": {".class": "Instance", "args": ["builtins.str", {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.dict"}}}, "_fields": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel._fields", "name": "_fields", "type": {".class": "TupleType", "implicit": false, "items": ["builtins.str", "builtins.str", "builtins.str"], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "builtins.tuple"}}}}, "_make": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Decorator", "func": {".class": "FuncDef", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "flags": ["is_class", "is_decorated"], "fullname": "torch.autograd.profiler_util.Kernel._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_make of Kernel", "ret_type": {".class": "TypeVarType", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarDef", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "is_overload": false, "var": {".class": "Var", "flags": ["is_classmethod", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel._make", "name": "_make", "type": {".class": "CallableType", "arg_kinds": [0, 0, 5, 5], "arg_names": ["_cls", "iterable", "new", "len"], "arg_types": [{".class": "TypeType", "item": {".class": "TypeVarType", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}}, {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "type_ref": "typing.Iterable"}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 6}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_make of Kernel", "ret_type": {".class": "TypeVarType", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarDef", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}}, "plugin_generated": true}, "_replace": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 5, 5, 5], "arg_names": ["_self", "name", "device", "duration"], "flags": [], "fullname": "torch.autograd.profiler_util.Kernel._replace", "name": "_replace", "type": {".class": "CallableType", "arg_kinds": [0, 5, 5, 5], "arg_names": ["_self", "name", "device", "duration"], "arg_types": [{".class": "TypeVarType", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, {".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "bound_args": [], "def_extras": {}, "fallback": "builtins.function", "implicit": false, "is_ellipsis_args": false, "name": "_replace of Kernel", "ret_type": {".class": "TypeVarType", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}, "type_guard": null, "variables": [{".class": "TypeVarDef", "fullname": "torch.autograd.profiler_util.Kernel._NT", "id": -1, "name": "_NT", "upper_bound": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "values": [], "variance": 0}]}}, "plugin_generated": true}, "_source": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_initialized_in_class", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel._source", "name": "_source", "type": "builtins.str"}}, "device": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel.device", "name": "device", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "duration": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel.duration", "name": "duration", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "name": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "Var", "flags": ["is_property", "is_ready"], "fullname": "torch.autograd.profiler_util.Kernel.name", "name": "name", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}}, "tuple_type": {".class": "TupleType", "implicit": false, "items": [{".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "partial_fallback": {".class": "Instance", "args": [{".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}], "type_ref": "builtins.tuple"}}, "type_vars": [], "typeddict_type": null}}, "List": {".class": "SymbolTableNode", "cross_ref": "typing.List", "kind": "Gdef"}, "MEMORY_EVENT_NAME": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.autograd.profiler_util.MEMORY_EVENT_NAME", "name": "MEMORY_EVENT_NAME", "type": "builtins.str"}}, "MemRecordsAcc": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "TypeInfo", "_promote": null, "abstract_attributes": [], "bases": ["builtins.object"], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.profiler_util.MemRecordsAcc", "name": "MemRecordsAcc", "type_vars": []}, "flags": [], "fullname": "torch.autograd.profiler_util.MemRecordsAcc", "metaclass_type": null, "metadata": {}, "module_name": "torch.autograd.profiler_util", "mro": ["torch.autograd.profiler_util.MemRecordsAcc", "builtins.object"], "names": {".class": "SymbolTable", "__init__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "mem_records"], "flags": [], "fullname": "torch.autograd.profiler_util.MemRecordsAcc.__init__", "name": "__init__", "type": null}}, "_indices": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.profiler_util.MemRecordsAcc._indices", "name": "_indices", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_mem_records": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.profiler_util.MemRecordsAcc._mem_records", "name": "_mem_records", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "_start_uses": {".class": "SymbolTableNode", "implicit": true, "kind": "Mdef", "node": {".class": "Var", "flags": [], "fullname": "torch.autograd.profiler_util.MemRecordsAcc._start_uses", "name": "_start_uses", "type": {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 1}}}, "in_interval": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0, 0], "arg_names": ["self", "start_us", "end_us"], "flags": ["is_generator"], "fullname": "torch.autograd.profiler_util.MemRecordsAcc.in_interval", "name": "in_interval", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Optional": {".class": "SymbolTableNode", "cross_ref": "typing.Optional", "kind": "Gdef"}, "StringTable": {".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}, {".class": "AnyType", "missing_import_name": null, "source_any": null, "type_of_any": 4}], "type_ref": "collections.defaultdict"}], "declared_metaclass": null, "defn": {".class": "ClassDef", "fullname": "torch.autograd.profiler_util.StringTable", "name": "StringTable", "type_vars": []}, "flags": [], "fullname": "torch.autograd.profiler_util.StringTable", "metaclass_type": "abc.ABCMeta", "metadata": {}, "module_name": "torch.autograd.profiler_util", "mro": ["torch.autograd.profiler_util.StringTable", "collections.defaultdict", "builtins.dict", "typing.MutableMapping", "typing.Mapping", "typing.Collection", "typing.Iterable", "typing.Container", "builtins.object"], "names": {".class": "SymbolTable", "__missing__": {".class": "SymbolTableNode", "kind": "Mdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["self", "key"], "flags": [], "fullname": "torch.autograd.profiler_util.StringTable.__missing__", "name": "__missing__", "type": null}}}, "tuple_type": null, "type_vars": [], "typeddict_type": null}}, "Tuple": {".class": "SymbolTableNode", "cross_ref": "typing.Tuple", "kind": "Gdef"}, "__doc__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.autograd.profiler_util.__doc__", "name": "__doc__", "type": "builtins.str"}}, "__file__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.autograd.profiler_util.__file__", "name": "__file__", "type": "builtins.str"}}, "__name__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.autograd.profiler_util.__name__", "name": "__name__", "type": "builtins.str"}}, "__package__": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "Var", "flags": ["is_ready"], "fullname": "torch.autograd.profiler_util.__package__", "name": "__package__", "type": "builtins.str"}}, "_attr_formatter": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "torch.autograd.profiler_util._attr_formatter", "name": "_attr_formatter", "type": null}}, "_build_table": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1, 1, 1, 1, 1, 1, 1], "arg_names": ["events", "sort_by", "header", "row_limit", "max_src_column_width", "with_flops", "profile_memory", "top_level_events_only"], "flags": [], "fullname": "torch.autograd.profiler_util._build_table", "name": "_build_table", "type": null}}, "_filter_name": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["name"], "flags": [], "fullname": "torch.autograd.profiler_util._filter_name", "name": "_filter_name", "type": null}}, "_filter_stack_entry": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["entry"], "flags": [], "fullname": "torch.autograd.profiler_util._filter_stack_entry", "name": "_filter_stack_entry", "type": null}}, "_format_memory": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["nbytes"], "flags": [], "fullname": "torch.autograd.profiler_util._format_memory", "name": "_format_memory", "type": null}}, "_format_time": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0], "arg_names": ["time_us"], "flags": [], "fullname": "torch.autograd.profiler_util._format_time", "name": "_format_time", "type": null}}, "_format_time_share": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 0], "arg_names": ["time_us", "total_time_us"], "flags": [], "fullname": "torch.autograd.profiler_util._format_time_share", "name": "_format_time_share", "type": null}}, "_rewrite_name": {".class": "SymbolTableNode", "kind": "Gdef", "node": {".class": "FuncDef", "arg_kinds": [0, 1], "arg_names": ["name", "with_wildcard"], "flags": [], "fullname": "torch.autograd.profiler_util._rewrite_name", "name": "_rewrite_name", "type": null}}, "attrgetter": {".class": "SymbolTableNode", "cross_ref": "operator.attrgetter", "kind": "Gdef"}, "bisect": {".class": "SymbolTableNode", "cross_ref": "bisect", "kind": "Gdef"}, "defaultdict": {".class": "SymbolTableNode", "cross_ref": "collections.defaultdict", "kind": "Gdef"}, "itertools": {".class": "SymbolTableNode", "cross_ref": "itertools", "kind": "Gdef"}, "math": {".class": "SymbolTableNode", "cross_ref": "math", "kind": "Gdef"}, "namedtuple": {".class": "SymbolTableNode", "cross_ref": "collections.namedtuple", "kind": "Gdef"}, "torch": {".class": "SymbolTableNode", "cross_ref": "torch", "kind": "Gdef"}}, "path": "/home/patrick/anaconda3/lib/python3.9/site-packages/torch/autograd/profiler_util.py"}