@Override
    public void close() throws IllegalStateException {
        try {
            session.close();
        } catch (UncheckedOrtException e) {
            throw new IllegalStateException("Failed to close ONNX session", e);
        } catch (IllegalStateException e) {
            throw new IllegalStateException("Already closed", e);
        }
    }
Evaluates an ONNX Model by deferring to ONNX Runtime.

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