MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / analyze_step_stats

Method analyze_step_stats

tensorflow/python/client/timeline.py:833–842  ·  view source on GitHub ↗
(self, show_dataflow=True, show_memory=True, use_real_thread_id=True)

Source from the content-addressed store, hash-verified

831 self._allocator_maximums = alloc_maxes
832
833 def analyze_step_stats(self, show_dataflow=True, show_memory=True, use_real_thread_id=True):
834 self._allocate_pids()
835 self._assign_lanes(use_real_thread_id)
836 self._analyze_tensors(show_memory)
837 self._show_compute(show_dataflow)
838 if show_memory:
839 self._show_memory_counters()
840 return StepStatsAnalysis(
841 chrome_trace=self._chrome_trace,
842 allocator_maximums=self._allocator_maximums)
843
844 def generate_chrome_trace_format(self, show_dataflow=True, show_memory=False, use_real_thread_id=True):
845 """Produces a trace in Chrome Trace Format.

Callers 2

run_op_benchmarkMethod · 0.95

Calls 6

_allocate_pidsMethod · 0.95
_assign_lanesMethod · 0.95
_analyze_tensorsMethod · 0.95
_show_computeMethod · 0.95
_show_memory_countersMethod · 0.95
StepStatsAnalysisClass · 0.70

Tested by

no test coverage detected