Searched refs:StackSummary (Results 1 – 21 of 21) sorted by relevance
/external/pytorch/torch/distributed/checkpoint/ |
D | api.py | 6 WRAPPED_EXCEPTION = Tuple[BaseException, tb.StackSummary] 20 return isinstance(obj[0], BaseException) and isinstance(obj[1], tb.StackSummary)
|
/external/pytorch/torch/cuda/ |
D | _sanitizer.py | 74 stack_trace: traceback.StackSummary 87 allocation_stack_trace: Optional[traceback.StackSummary], argument 158 allocation_stack_trace: Optional[traceback.StackSummary] 189 self, data_ptr: DataPtr, stack_trace: Optional[traceback.StackSummary] argument 201 ) -> Optional[traceback.StackSummary]: 373 stack_trace = traceback.StackSummary.extract( 432 stack_trace = traceback.StackSummary.extract(
|
/external/pytorch/docs/source/ |
D | cuda._sanitizer.rst | 53 stack_trace = traceback.StackSummary.extract( 63 stack_trace = traceback.StackSummary.extract( 70 traceback.StackSummary.extract(
|
/external/python/cpython3/Doc/library/ |
D | traceback.rst | 42 :class:`StackSummary` and :class:`FrameSummary`. These offer both more 141 Return a :class:`StackSummary` object representing a list of "pre-processed" 245 used. This helper is used with :meth:`StackSummary.extract`. 253 for each frame. This helper is used with :meth:`StackSummary.extract`. 273 *lookup_lines* and *capture_locals* are as for the :class:`StackSummary` 330 A :class:`StackSummary` representing the traceback. 381 *capture_locals* are as for the :class:`StackSummary` class. 427 :class:`!StackSummary` Objects 432 :class:`!StackSummary` objects represent a call stack ready for formatting. 434 .. class:: StackSummary [all …]
|
/external/pytorch/torch/utils/ |
D | _traceback.py | 176 return traceback.StackSummary() 252 stack = traceback.StackSummary()
|
/external/pytorch/torch/_dynamo/ |
D | exc.py | 5 from traceback import extract_stack, format_exc, format_list, StackSummary 379 def get_real_stack(exc: Exception, frame=None) -> Optional[StackSummary]: 405 return cast(StackSummary, stack_above_dynamo + real_stack)
|
D | comptime.py | 265 "".join(traceback.StackSummary.from_list(reversed(stack)).format()),
|
D | output_graph.py | 359 self.source_to_user_stacks: Dict[Source, List[traceback.StackSummary]] = {} 2029 msgs = traceback.StackSummary.from_list(frame_summaries).format()
|
/external/python/cpython3/Lib/test/ |
D | test_traceback.py | 3189 s = traceback.StackSummary.extract(traceback.walk_stack(None)) 3190 self.assertIsInstance(s, traceback.StackSummary) 3193 s = traceback.StackSummary.extract(traceback.walk_stack(None), limit=5) 3201 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=True) 3209 s = traceback.StackSummary.extract(iter([(f, 6)]), lookup_lines=False) 3215 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')]) 3221 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')]) 3223 s2 = traceback.StackSummary.from_list(s) 3231 s = traceback.StackSummary.from_list([('foo.py', 1, 'fred', 'line')]) 3240 s = traceback.StackSummary.extract(iter([(f, 6)]), capture_locals=True) [all …]
|
/external/python/cpython3/Lib/asyncio/ |
D | format_helpers.py | 80 stack = traceback.StackSummary.extract(traceback.walk_stack(f),
|
/external/python/cpython3/Lib/ |
D | traceback.py | 30 for item in StackSummary.from_list(extracted_list).format(): 45 return StackSummary.from_list(extracted_list).format() 78 return StackSummary._extract_from_extended_frame_gen( 260 stack = StackSummary.extract(walk_stack(f), limit=limit) 424 class StackSummary(list): class 505 result = StackSummary() 1044 self.stack = StackSummary._extract_from_extended_frame_gen(
|
/external/tensorflow/tensorflow/python/util/ |
D | tf_stack.py | 185 StackSummary = _tf_stack.StackTraceWrapper variable
|
/external/pytorch/test/ |
D | test_cuda_sanitizer.py | 444 stack_trace=traceback.StackSummary.from_list( 455 stack_trace=traceback.StackSummary.from_list( 461 allocation_stack_trace=traceback.StackSummary.from_list(
|
/external/pytorch/torch/ |
D | _guards.py | 189 user_stack: Optional[traceback.StackSummary] = None 697 return traceback.StackSummary() 701 return traceback.StackSummary.from_list(stack)
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.6.0a4.rst | 209 traceback.StackSummary.format now abbreviates large sections of repeated
|
D | 3.11.0a1.rst | 1839 Rename :meth:`traceback.StackSummary.format_frame` to 1840 :meth:`traceback.StackSummary.format_frame_summary`. This method was added 1853 from a :meth:`~traceback.StackSummary.format_frame` override. 2446 Added the :func:`StackSummary.format_frame` function in :mod:`traceback`.
|
/external/pytorch/torch/fx/ |
D | graph_module.py | 352 traceback.StackSummary.extract(traceback.walk_tb(e.__traceback__))[-1]
|
/external/pytorch/torch/fx/experimental/ |
D | proxy_tensor.py | 1774 stack_trace = traceback.StackSummary.from_list(stack_trace)
|
D | symbolic_shapes.py | 5523 ''.join(traceback.StackSummary.from_list([frame_summary]).format())
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.5.rst | 1955 :class:`~traceback.StackSummary`, and :class:`~traceback.FrameSummary`.
|
D | 3.11.rst | 1124 * Add :func:`traceback.StackSummary.format_frame_summary` to allow users
|