From 3a2f576d851d7cd112c5b16501fbafad04b06965 Mon Sep 17 00:00:00 2001 From: Xu Xing Date: Wed, 4 Dec 2024 15:05:45 +0800 Subject: [PATCH] Nit --- onnxruntime/core/providers/js/operators/gather_nd.cc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/onnxruntime/core/providers/js/operators/gather_nd.cc b/onnxruntime/core/providers/js/operators/gather_nd.cc index 0236797b2b535..ee69100cc658e 100644 --- a/onnxruntime/core/providers/js/operators/gather_nd.cc +++ b/onnxruntime/core/providers/js/operators/gather_nd.cc @@ -17,19 +17,21 @@ ONNX_OPERATOR_KERNEL_EX( .TypeConstraint("T", JsepSupportedDataTypes()), GatherND); -ONNX_OPERATOR_KERNEL_EX( +ONNX_OPERATOR_VERSIONED_KERNEL_EX( GatherND, kOnnxDomain, 12, + 12, kJsExecutionProvider, (*KernelDefBuilder::Create()) .TypeConstraint("T", JsepSupportedDataTypes()), GatherND); -ONNX_OPERATOR_KERNEL_EX( +ONNX_OPERATOR_VERSIONED_KERNEL_EX( GatherND, kOnnxDomain, 11, + 11, kJsExecutionProvider, (*KernelDefBuilder::Create()) .TypeConstraint("T", JsepSupportedDataTypes()),