import itertools


def combos(indices):
    """ Return all combinations of indices in a list of index sublists.
    Arguments:
        indices: list of int lists
            List of index lists.
    """


    return list(itertools.product(*indices))