diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-09-02 15:02:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-02 15:02:03 +0200 |
commit | aedc9134e2c5b1bb9ade6965c100d195fc56bcc6 (patch) | |
tree | 40d25530fc1f79b6769c8cf46846e65da4b751ce /eval | |
parent | 224fcb3710d2abc26334e99eac52d16ae2891e22 (diff) | |
parent | bb50b66bc8ca9eec8b76873b95c7b6ed347ced2f (diff) |
Merge pull request #14252 from vespa-engine/toregge/use-correct-onnxruntime-header
Include correct onnxruntime header on darwin.
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/vespa/eval/tensor/dense/onnx_wrapper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eval/src/vespa/eval/tensor/dense/onnx_wrapper.h b/eval/src/vespa/eval/tensor/dense/onnx_wrapper.h index 23ddbcb8885..857098d0e3e 100644 --- a/eval/src/vespa/eval/tensor/dense/onnx_wrapper.h +++ b/eval/src/vespa/eval/tensor/dense/onnx_wrapper.h @@ -3,7 +3,11 @@ #pragma once #include "dense_tensor_view.h" +#ifdef __APPLE__ +#include <onnxruntime/core/session/onnxruntime_cxx_api.h> +#else #include <onnxruntime/onnxruntime_cxx_api.h> +#endif #include <vespa/vespalib/stllike/string.h> #include <vespa/eval/eval/value_type.h> #include <vector> |