@Override
    public Reduce withInputs(List<IntermediateOperation> inputs) {
        return new Reduce(modelName(), name(), inputs, attributeMap, aggregator, preOperator, postOperator);
    }
ONNX Reduce[Sum/Mean/etc] operation
model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/Reduce.java