private String mapToInternalName(String outputName) throws OrtException {
        var info = session.instance().getOutputInfo();
        var internalNames = info.keySet();
        for (String name : internalNames) {
            if (name.equals(outputName)) {
                return name;
            }
        }
        for (String name : internalNames) {
            String mapped = TensorConverter.asValidName(name);
            if (mapped.equals(outputName)) {
                return name;
            }
        }
        // Probably will not work, but give the correct error from session.run
        return outputName;
    }
Evaluates an ONNX Model by deferring to ONNX Runtime.

@author lesters
model-integration/src/main/java/ai/vespa/modelintegration/evaluator/EmbeddedOnnxEvaluator.java