def get_consumers(op):
    """
    Get a flat list from [output[0].consumers(), output[1].consumers(), ...].

    Args:
        op: TensorFlow Operator

    Returns:
        List[Operation]: The list of consumers
    """
    return [consumer for output in op.outputs for consumer in output.consumers()]