Searched refs:_profiler (Results 1 – 6 of 6) sorted by relevance
48 _profiler = None variable70 global _profiler72 if _profiler is not None:79 _profiler = pywrap_tensorflow.TFE_NewProfiler(profiler_context)81 if not pywrap_tensorflow.TFE_ProfilerIsOk(_profiler):97 global _profiler100 if _profiler is None:106 _profiler,109 pywrap_tensorflow.TFE_DeleteProfiler(_profiler)110 _profiler = None
20 self._profiler = profiler36 profilers.add(self._profiler, *self._profiler_args,45 profilers.delete(self._profiler)
190 self._profiler = None236 if not self._profiler:237 self._profiler = model_analyzer.Profiler(ops.get_default_graph())238 return self._profiler
37 from tensorflow.python.eager import profiler as _profiler unknown1107 _profiler.start()1157 _profiler.save(profiler_outdir, _profiler.stop())1175 _profiler.stop()1176 except _profiler.ProfilerNotRunningError:
11 .. _profiler-introduction: