def resolve_conflicts(inputs, outputs):
data = {}<EOL>for inp, out in zip(inputs, outputs):<EOL><INDENT>tup = tuple(inp)<EOL>if tup in data:<EOL><INDENT>data[tup].append(out)<EOL><DEDENT>else:<EOL><INDENT>data[tup] = [out]<EOL><DEDENT><DEDENT>inputs, outputs = [], []<EOL>for inp, outs in data.items():<EOL><INDENT>inputs.append(list(inp))<EOL>combined = [<NUM_LIT:0>] * len(outs[<NUM_LIT:0>])<EOL>for i in range(len(combined)):<EOL><INDENT>combined[i] = max(j[i] for j in outs)<EOL><DEDENT>outputs.append(combined)<EOL><DEDENT>return inputs, outputs<EOL>
Checks for duplicate inputs and if there are any,
remove one and set the output to the max of the two outputs
Args:
    inputs (list<list<float>>): Array of input vectors
    outputs (list<list<float>>): Array of output vectors
Returns:
    tuple<inputs, outputs>: The modified inputs and outputs