public Optional<TensorFunction<Reference>> rankingExpressionFunction() {
        return Optional.ofNullable(rankingExpressionFunction);
    }
Returns a function that should be added as a ranking expression function
model-integration/src/main/java/ai/vespa/rankingexpression/importer/operations/IntermediateOperation.java