@Override
    public Value evaluate(Context context) {
        Map<String, Tensor> inputs = new HashMap<>();
        for (int i = 0; i < modelInputs.size(); i++) {
            Value inputValue = inputRefs.get(i).evaluate(context);
            inputs.put(modelInputs.get(i), inputValue.asTensor());
        }
        return new TensorValue(model.unmappedEvaluate(inputs, onnxOutputName));
    }
make it possible to evaluate an ONNX model anywhere in the ranking expression tree
model-evaluation/src/main/java/ai/vespa/models/evaluation/OnnxExpressionNode.java