Home
last modified time | relevance | path

Searched refs:most_recent_n (Results 1 – 2 of 2) sorted by relevance

/external/tensorflow/tensorflow/python/debug/cli/
Ddebugger_cli_common_test.py947 self.assertEqual([], self._cmd_hist.most_recent_n(3))
952 self.assertEqual(["node_info node_a"], self._cmd_hist.most_recent_n(1))
954 self._cmd_hist.most_recent_n(2))
956 self._cmd_hist.most_recent_n(3))
960 self.assertEqual(["node_info node_b"], self._cmd_hist.most_recent_n(1))
962 self._cmd_hist.most_recent_n(2))
964 self._cmd_hist.most_recent_n(3))
966 self._cmd_hist.most_recent_n(4))
971 self.assertEqual(["node_info node_a"], self._cmd_hist.most_recent_n(1))
973 self._cmd_hist.most_recent_n(2))
[all …]
Ddebugger_cli_common.py1081 def most_recent_n(self, n): member in CommandHistory