From 6333345c538c173896eeb003b1fef79fc03ea443 Mon Sep 17 00:00:00 2001 From: Wanming Lin Date: Mon, 6 Jan 2025 09:27:26 +0800 Subject: [PATCH] Fix typos --- .../providers/webnn/builders/impl/normalization_op_builder.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onnxruntime/core/providers/webnn/builders/impl/normalization_op_builder.cc b/onnxruntime/core/providers/webnn/builders/impl/normalization_op_builder.cc index 7dff9672f4805..77f4bdce52a84 100644 --- a/onnxruntime/core/providers/webnn/builders/impl/normalization_op_builder.cc +++ b/onnxruntime/core/providers/webnn/builders/impl/normalization_op_builder.cc @@ -113,7 +113,7 @@ Status NormalizationOpBuilder::AddToModelBuilderImpl(ModelBuilder& model_builder ORT_RETURN_IF_NOT(GetType(*input_defs[0], input_type, logger), "Cannot get input type"); emscripten::val common_options = emscripten::val::object(); - // If it is SkipSimplifiedLayerNormalization, add the skip, bias (if it exits) to the input. + // If it is SkipSimplifiedLayerNormalization, add the skip and bias (if it exists) to the input. if (op_type == "SkipSimplifiedLayerNormalization") { emscripten::val skip = model_builder.GetOperand(input_defs[1]->Name()); common_options.set("label", node.Name() + "_add_skip"); @@ -161,7 +161,7 @@ Status NormalizationOpBuilder::AddToModelBuilderImpl(ModelBuilder& model_builder common_options.set("label", node.Name() + "_mul"); output = model_builder.GetBuilder().call("mul", scale, div, common_options); - // Add (if bias exits) + // Add (if bias exists) if (!bias.isUndefined()) { common_options.set("label", node.Name() + "_add_bias"); output = model_builder.GetBuilder().call("add", output, bias, common_options);