@Override
    public Constant withInputs(List<IntermediateOperation> inputs) {
        if ( ! inputs.isEmpty())
            throw new IllegalArgumentException("Constant cannot take inputs");
        Constant constant = new Constant(modelName(), name(), type);
        constant.setConstantValueFunction(constantValueFunction);
        return constant;
    }
Constant values are sent in via the constantValueFunction, as the
dimension names and thus the data layout depends on the dimension
renaming which happens after the conversion to intermediate graph.
model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/Constant.java