def __on_add_watch(self, text):
    titem = self.tensor_select_list[self.select_list_cur_pos]
    new_titem = self.TensorWatchItem(titem)
    '\n            new_titem = copy.copy(titem) #shallow copy\n            new_titem.reshape = copy.copy(titem.reshape)\n            '
    self.tensor_watch_list.append(new_titem)
    index = (len(self.tensor_watch_list) - 1)
    self.__open_tensor_view(index, text)
def __on_add_watch(self, text):
    titem = self.tensor_select_list[self.select_list_cur_pos]
    new_titem = self.TensorWatchItem(titem)
    '\n            new_titem = copy.copy(titem) #shallow copy\n            new_titem.reshape = copy.copy(titem.reshape)\n            '
    self.tensor_watch_list.append(new_titem)
    index = (len(self.tensor_watch_list) - 1)
    self.__open_tensor_view(index, text)