Home
last modified time | relevance | path

Searched refs:StackSummary (Results 1 – 21 of 21) sorted by relevance

/external/pytorch/torch/distributed/checkpoint/
Dapi.py6 WRAPPED_EXCEPTION = Tuple[BaseException, tb.StackSummary]
20 return isinstance(obj[0], BaseException) and isinstance(obj[1], tb.StackSummary)
/external/pytorch/torch/cuda/
D_sanitizer.py74 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/
Dcuda._sanitizer.rst53 stack_trace = traceback.StackSummary.extract(
63 stack_trace = traceback.StackSummary.extract(
70 traceback.StackSummary.extract(
/external/python/cpython3/Doc/library/
Dtraceback.rst42 :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.py176 return traceback.StackSummary()
252 stack = traceback.StackSummary()
/external/pytorch/torch/_dynamo/
Dexc.py5 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)
Dcomptime.py265 "".join(traceback.StackSummary.from_list(reversed(stack)).format()),
Doutput_graph.py359 self.source_to_user_stacks: Dict[Source, List[traceback.StackSummary]] = {}
2029 msgs = traceback.StackSummary.from_list(frame_summaries).format()
/external/python/cpython3/Lib/test/
Dtest_traceback.py3189 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/
Dformat_helpers.py80 stack = traceback.StackSummary.extract(traceback.walk_stack(f),
/external/python/cpython3/Lib/
Dtraceback.py30 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/
Dtf_stack.py185 StackSummary = _tf_stack.StackTraceWrapper variable
/external/pytorch/test/
Dtest_cuda_sanitizer.py444 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.py189 user_stack: Optional[traceback.StackSummary] = None
697 return traceback.StackSummary()
701 return traceback.StackSummary.from_list(stack)
/external/python/cpython3/Misc/NEWS.d/
D3.6.0a4.rst209 traceback.StackSummary.format now abbreviates large sections of repeated
D3.11.0a1.rst1839 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/
Dgraph_module.py352 traceback.StackSummary.extract(traceback.walk_tb(e.__traceback__))[-1]
/external/pytorch/torch/fx/experimental/
Dproxy_tensor.py1774 stack_trace = traceback.StackSummary.from_list(stack_trace)
Dsymbolic_shapes.py5523 ''.join(traceback.StackSummary.from_list([frame_summary]).format())
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1955 :class:`~traceback.StackSummary`, and :class:`~traceback.FrameSummary`.
D3.11.rst1124 * Add :func:`traceback.StackSummary.format_frame_summary` to allow users