def METHOD_NAME(outputs):
    """Repack and "transpose" the output sets, from groups of outputs of individual operators
    to interleaved groups of consecutive outputs, that is from:
    [[out0, out1, out2], [out0', out1', out2'], ...] produce:
    [[out0, out0', ...], [out1, out1', ...], [out2, out2', ...]]
    Assume that all elements of input have the same length
    If the inputs were 1-elem lists, it is flattened, that is:
    [[out0], [out0'], [out0''], ...] -> [out0, out0', out0'', ...]
    """
    if len(outputs) > 1 and len(outputs[0]) == 1:
        output = []
        for elem in outputs:
            output.append(elem[0])
        return output
    return _repack_list(outputs, list)