Home
last modified time | relevance | path

Searched refs:screen_output (Results 1 – 7 of 7) sorted by relevance

/external/tensorflow/tensorflow/python/debug/cli/
Dreadline_ui.py108 screen_output = self._command_handler_registry.dispatch_command(
113 screen_output = debugger_cli_common.RichTextLines([
117 self._display_output(screen_output)
120 screen_output.write_to_file(output_file_path)
125 def _display_output(self, screen_output): argument
126 for line in screen_output.lines:
Ddebugger_cli_common_test.py51 screen_output = debugger_cli_common.RichTextLines(
58 self.assertEqual(2, len(screen_output.lines))
59 self.assertEqual(2, len(screen_output.font_attr_segs))
60 self.assertEqual(1, len(screen_output.font_attr_segs[0]))
61 self.assertEqual(1, len(screen_output.font_attr_segs[1]))
62 self.assertEqual(2, len(screen_output.annotations))
64 self.assertEqual(2, screen_output.num_lines())
73 screen_output = debugger_cli_common.RichTextLines(
78 self.assertEqual(1, len(screen_output.lines))
79 self.assertEqual(1, len(screen_output.font_attr_segs))
[all …]
Dcurses_widgets.py29 def __init__(self, command, screen_output, scroll_position): argument
38 self.screen_output = screen_output
66 def add_item(self, command, screen_output, scroll_position): argument
77 NavigationHistoryItem(command, screen_output, scroll_position))
Dstepper_cli.py424 screen_output = debugger_cli_common.RichTextLines(
426 screen_output.extend(self._report_last_feed_types())
427 screen_output.extend(self._report_last_updated())
428 screen_output.extend(
440 final_output.extend(screen_output)
511 screen_output = self.cont([self._sorted_nodes[self._next]], screen_info)
513 return screen_output
Dreadline_ui_test.py50 def _display_output(self, screen_output): argument
51 self.observers["screen_outputs"].append(screen_output)
Dcurses_ui.py657 self._display_output(item.screen_output)
737 screen_output = self._command_handler_registry.dispatch_command(
742 screen_output = debugger_cli_common.RichTextLines([
753 self._nav_history.add_item(command, screen_output, 0)
755 self._display_output(screen_output)
758 screen_output.write_to_file(output_file_path)
Dcurses_widgets_test.py65 self.assertEqual(["bar"], output.screen_output.lines)