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()),