Searched refs:parse_indices (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/python/debug/cli/ |
D | command_parser_test.py | 246 self.assertEqual([0], command_parser.parse_indices("[0]")) 247 self.assertEqual([0], command_parser.parse_indices(" [0] ")) 248 self.assertEqual([-1, 2], command_parser.parse_indices("[-1, 2]")) 250 command_parser.parse_indices("[3,4,-5]")) 253 self.assertEqual([0], command_parser.parse_indices("0")) 254 self.assertEqual([0], command_parser.parse_indices(" 0 ")) 255 self.assertEqual([-1, 2], command_parser.parse_indices("-1, 2")) 256 self.assertEqual([3, 4, -5], command_parser.parse_indices("3,4,-5")) 261 self.assertEqual([0], command_parser.parse_indices("0,a")) 265 self.assertEqual([0], command_parser.parse_indices("1, 2]")) [all …]
|
D | command_parser.py | 219 def parse_indices(indices_string): function
|
D | curses_ui.py | 709 indices = command_parser.parse_indices(indices_str)
|