aboutsummaryrefslogtreecommitdiffstats
path: root/eval
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-06-22 07:28:24 +0000
committerArne Juul <arnej@yahooinc.com>2023-08-23 07:28:26 +0000
commita5249ef8f4da49b5285ee3b9f5692fd5d9afb858 (patch)
tree009cb0d2d878a399de03b7e9ae6c662aff5b82ef /eval
parentaa8ef9f8c2cefad16726a55384ee095ef3b46c2d (diff)
use onnxruntime version 1.15.1
Diffstat (limited to 'eval')
-rw-r--r--eval/src/vespa/eval/onnx/onnx_wrapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval/src/vespa/eval/onnx/onnx_wrapper.cpp b/eval/src/vespa/eval/onnx/onnx_wrapper.cpp
index 7b2de4dfaa1..8f9450c2660 100644
--- a/eval/src/vespa/eval/onnx/onnx_wrapper.cpp
+++ b/eval/src/vespa/eval/onnx/onnx_wrapper.cpp
@@ -184,7 +184,7 @@ public:
};
Ort::AllocatorWithDefaultOptions OnnxString::_alloc;
-std::vector<Onnx::DimSize> make_dimensions(const Ort::TensorTypeAndShapeInfo &tensor_info) {
+std::vector<Onnx::DimSize> make_dimensions(const Ort::ConstTensorTypeAndShapeInfo &tensor_info) {
std::vector<const char *> symbolic_sizes(tensor_info.GetDimensionsCount(), nullptr);
tensor_info.GetSymbolicDimensions(symbolic_sizes.data(), symbolic_sizes.size());
auto shape = tensor_info.GetShape();