Home
last modified time | relevance | path

Searched refs:screen_output (Results 1 – 6 of 6) 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))
Dreadline_ui_test.py52 def _display_output(self, screen_output): argument
53 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)