def __on_tensor_select(self, index):
    index = index.row()
    if (self.cur_list_type == 0):
        self.select_list_cur_pos = index
        list = self.tensor_select_list
        print(list[index].shape_str)
    else:
        self.watch_list_cur_pos = index
        list = self.tensor_watch_list
        if (self.tensor_watch_list[index].showstate == False):
            self.main_window.showbtn.setChecked(False)
        else:
            self.main_window.showbtn.setChecked(True)
        self.main_window.tensor_reshape_label.setText((('Reshape:   (' + str(list[index].get_reshape_str())) + ')'))
    self.main_window.tensor_label.setText(('Shape:  ' + list[index].shape_str))
def __on_tensor_select(self, index):
    index = index.row()
    if (self.cur_list_type == 0):
        self.select_list_cur_pos = index
        list = self.tensor_select_list
        print(list[index].shape_str)
    else:
        self.watch_list_cur_pos = index
        list = self.tensor_watch_list
        if (self.tensor_watch_list[index].showstate == False):
            self.main_window.showbtn.setChecked(False)
        else:
            self.main_window.showbtn.setChecked(True)
        self.main_window.tensor_reshape_label.setText((('Reshape:   (' + str(list[index].get_reshape_str())) + ')'))
    self.main_window.tensor_label.setText(('Shape:  ' + list[index].shape_str))