From a5581e4cbcd40bd2c41a47e100a0ad562d8c95a9 Mon Sep 17 00:00:00 2001 From: kailums Date: Wed, 26 Jun 2024 09:17:36 +0000 Subject: [PATCH] fix build failed --- onnxruntime/test/providers/cpu/tensor/split_op_test.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onnxruntime/test/providers/cpu/tensor/split_op_test.cc b/onnxruntime/test/providers/cpu/tensor/split_op_test.cc index 4c0cdde64ce36..066302a4a37d1 100644 --- a/onnxruntime/test/providers/cpu/tensor/split_op_test.cc +++ b/onnxruntime/test/providers/cpu/tensor/split_op_test.cc @@ -838,7 +838,7 @@ TEST(SplitOperatorTest, Split3Inner) { return ShapeAndDataT{{batch, end - start}, data0}; }; - auto do_test = [&](std::vector& splits) { + auto do_test = [&](std::vector& splits) { outputs.clear(); outputs.push_back(gen_output(0, splits[0])); outputs.push_back(gen_output(splits[0], splits[1])); @@ -848,7 +848,7 @@ TEST(SplitOperatorTest, Split3Inner) { }; // split into 3 same size, and aligned to 16 - std::vector splits{data_len / 3, data_len / 3 * 2}; + std::vector splits{data_len / 3, data_len / 3 * 2}; do_test(splits); // test split with data alignment is 8