def update_tensor_list(self, tensor_list):
    self.tensor_select_list = []
    for t in tensor_list:
        if (len(self.tensor_input_list) > 0):
            input_name = self.tensor_input_list[0].name
        else:
            input_name = ''
        self.tensor_select_list.append(self.TensorSelectItem(t[0], t[1], t[2], input_name))
    if (self.cur_list_type == 0):
        self.select_list_cur_pos = 0
        self.main_window.update_tensor_list(list_type=self.cur_list_type, list=self.tensor_select_list, pos=0, reset_pos=True)
def update_tensor_list(self, tensor_list):
    self.tensor_select_list = []
    for t in tensor_list:
        if (len(self.tensor_input_list) > 0):
            input_name = self.tensor_input_list[0].name
        else:
            input_name = 
        self.tensor_select_list.append(self.TensorSelectItem(t[0], t[1], t[2], input_name))
    if (self.cur_list_type == 0):
        self.select_list_cur_pos = 0
        self.main_window.update_tensor_list(list_type=self.cur_list_type, list=self.tensor_select_list, pos=0, reset_pos=True)