From 191860681b1d3b8bf026959ef52c659db82cc012 Mon Sep 17 00:00:00 2001 From: Sheetal Arun Kadam Date: Tue, 23 Jul 2024 14:42:56 -0700 Subject: [PATCH] format with lintrunner --- .../providers/coreml/builders/impl/activation_op_builder.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/onnxruntime/core/providers/coreml/builders/impl/activation_op_builder.cc b/onnxruntime/core/providers/coreml/builders/impl/activation_op_builder.cc index 3a7bccc16b741..57d50b334d83d 100644 --- a/onnxruntime/core/providers/coreml/builders/impl/activation_op_builder.cc +++ b/onnxruntime/core/providers/coreml/builders/impl/activation_op_builder.cc @@ -91,8 +91,7 @@ Status ActivationOpBuilder::AddToModelBuilderImpl(ModelBuilder& model_builder, coreml_op_type = "relu"; } else if (op_type == "LeakyRelu") { coreml_op_type = "leaky_relu"; - } - else { + } else { return ORT_MAKE_STATUS(ONNXRUNTIME, INVALID_ARGUMENT, "ActivationOpBuilder::AddToModelBuilderImpl, unknown op: ", op_type); }