Skip to content

Commit

Permalink
format with lintrunner
Browse files Browse the repository at this point in the history
  • Loading branch information
sheetalarkadam committed Jul 23, 2024
1 parent ae9ece9 commit 1918606
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 1918606

Please sign in to comment.