def __on_tensor_shape_input(self, text):
    titem = self.tensor_select_list[self.select_list_cur_pos]
    dims = text.split(',')
    titem.reshape = []
    for dim in dims:
        try:
            titem.reshape.append(int(dim))
        except ValueError:
            pass
def __on_tensor_shape_input(self, text):
    titem = self.tensor_select_list[self.select_list_cur_pos]
    dims = text.split(',')
    titem.reshape = []
    for dim in dims:
        try:
            titem.reshape.append(int(dim))
        except ValueError:
            pass