From b38c4a941b2b89345930e35867dfef24eb7c5d51 Mon Sep 17 00:00:00 2001 From: Shiyi Zou Date: Fri, 22 Nov 2024 08:51:11 +0800 Subject: [PATCH] remove ; --- .../core/providers/webnn/builders/impl/slice_op_builder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/onnxruntime/core/providers/webnn/builders/impl/slice_op_builder.cc b/onnxruntime/core/providers/webnn/builders/impl/slice_op_builder.cc index 49d59707adcae..d51297f19f1c2 100644 --- a/onnxruntime/core/providers/webnn/builders/impl/slice_op_builder.cc +++ b/onnxruntime/core/providers/webnn/builders/impl/slice_op_builder.cc @@ -115,7 +115,7 @@ Status SliceOpBuilder::AddToModelBuilderImpl(ModelBuilder& model_builder, const emscripten::val output = reverse_output; if (is_slice_required) { std::vector starts = GetVecUint32FromVecInt64(compute_metadata.starts_); - std::vector steps = GetVecUint32FromVecInt64(compute_metadata.steps_);; + std::vector steps = GetVecUint32FromVecInt64(compute_metadata.steps_); std::vector sizes(rank); std::transform(compute_metadata.ends_.cbegin(), compute_metadata.ends_.cend(), compute_metadata.starts_.cbegin(), sizes.begin(), [](int64_t i, int64_t j) { return SafeInt(i - j); });