From ed6c1e14bfd1242f8e5c00289bcf90c03c5c027d Mon Sep 17 00:00:00 2001 From: Alex Marin Date: Fri, 8 Nov 2024 12:23:28 -0800 Subject: [PATCH] lint --- .../test/contrib_ops/skiplayernorm_op_test.cc | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/onnxruntime/test/contrib_ops/skiplayernorm_op_test.cc b/onnxruntime/test/contrib_ops/skiplayernorm_op_test.cc index ea2b967bf736e..ed468589e3f11 100644 --- a/onnxruntime/test/contrib_ops/skiplayernorm_op_test.cc +++ b/onnxruntime/test/contrib_ops/skiplayernorm_op_test.cc @@ -207,7 +207,12 @@ TEST(SkipLayerNormTest, SkipLayerNormPrePack) { test.AddInput("skip", input_skip_output_dims, ToFloat16({1.f, 1.f, 1.f, 1.f})); test.AddInput("gamma", gamma_beta_bias_dims, ToFloat16({1.f, 1.f}), true); test.AddInput("beta", gamma_beta_bias_dims, ToFloat16({1.f, 1.f}), true); - test.AddOutput("output", input_skip_output_dims, ToFloat16({1.f, 1.f, 1.f, 1.f,})); + test.AddOutput("output", input_skip_output_dims, ToFloat16({ + 1.f, + 1.f, + 1.f, + 1.f, + })); // TRT, DNNL, OpenVINO and NNAPI, CoreML don't support this combination of datatypes test.Run(OpTester::ExpectResult::kExpectSuccess, "", @@ -228,7 +233,12 @@ TEST(SkipLayerNormTest, SkipSimplifiedLayerNormPrePack) { test.AddInput("skip", input_skip_output_dims, ToFloat16({1.f, 1.f, 1.f, 1.f})); test.AddInput("gamma", gamma_beta_bias_dims, ToFloat16({1.f, 1.f}), true); test.AddInput("bias", gamma_beta_bias_dims, ToFloat16({1.f, 1.f}), true); - test.AddOutput("output", input_skip_output_dims, ToFloat16({1.f, 1.f, 1.f, 1.f,})); + test.AddOutput("output", input_skip_output_dims, ToFloat16({ + 1.f, + 1.f, + 1.f, + 1.f, + })); // TRT, DNNL, OpenVINO and NNAPI, CoreML don't support this combination of datatypes test.Run(OpTester::ExpectResult::kExpectSuccess, "",