def __load_WatchList(self):
    tree = ET.parse('Saved_WatchList.xml')
    root = tree.getroot()
    count = len(self.tensor_watch_list)
    print(count)
    for elem in root:
        n = elem[0].text
        for t in self.all_ops:
            if (t.name == n):
                tem_select = self.TensorSelectItem(t.name, t.shape, t.op, self.tensor_input_list[0].name)
                new = self.TensorWatchItem(tem_select)
                self.tensor_watch_list.append(new)
                print('now', len(self.tensor_watch_list), 'but count: ', count)
                self.__open_tensor_view(count, elem[3].text)
                self.pyqt_env.set_win_pos_size(self.tensor_watch_list[count].pyqt_window_id, int(elem[4].text), int(elem[5].text), int(elem[6].text), int(elem[7].text))
                break
        count += 1
def __load_WatchList(self):
    tree = ET.parse('Saved_WatchList.xml')
    root = tree.getroot()
    count = len(self.tensor_watch_list)
    print(count)
    for elem in root:
        n = elem[0].text
        for t in self.all_ops:
            if (t.name == n):
                tem_select = self.TensorSelectItem(t.name, t.shape, t.op, self.tensor_input_list[0].name)
                new = self.TensorWatchItem(tem_select)
                self.tensor_watch_list.append(new)
                print('now', len(self.tensor_watch_list), 'but count: ', count)
                self.__open_tensor_view(count, elem[3].text)
                self.pyqt_env.set_win_pos_size(self.tensor_watch_list[count].pyqt_window_id, int(elem[4].text), int(elem[5].text), int(elem[6].text), int(elem[7].text))
                break
        count += 1