(value, size_list)
return separate_res
Separate value in order to several set according size_list
        Parameters
        ----------
        value: list or ndarray, input data
        size_list: list, each set size

        Returns
        ----------
        list
            set after separate
Separate value in order to several set according size_list
        Parameters
        ----------
        value: list or ndarray, input data
        size_list: list, each set size
Separate value in order to several set according size_list Parameters ---------- value : list or ndarray input data size_list : list each set size
def separate(value, size_list):
        """
        Separate value in order to several set according size_list
        Parameters
        ----------
        value: list or ndarray, input data
        size_list: list, each set size

        Returns
        ----------
        list
            set after separate
        """
        separate_res = []
        cur = 0
        for size in size_list:
            separate_res.append(value[cur:cur + size])
            cur += size
        return separate_res
def separate ( value , size_list ) : separate_res = [ ] cur = 0 for size in size_list : separate_res . append ( value [ cur : cur + size ] ) cur += size return separate_res