private int findOutputNumber(IntermediateOperation output, IntermediateOperation op) {
        for (int i = 0; i < output.outputs.size(); ++i) {
            if (output.outputs.get(i).equals(op)) {
                return i;
            }
        }
        return -1;
    }
Remove an operation between an input and this one
model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/IntermediateOperation.java