def gen_list(gen,l,*args):
    for x in l:
        for y in gen(x,*args):
            yield y
return a generator that applies a generator to a list
dataset/ETHPy150Open Microsoft/ivy/src/ivy/ivy_utils.py/gen_list