From 9c8618a5b969e63af603dc7c9c39cbe37afa887b Mon Sep 17 00:00:00 2001 From: Umang Yadav Date: Thu, 14 Sep 2023 00:56:16 +0000 Subject: [PATCH] change order inside test --- test/verify/test_layernorm.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/verify/test_layernorm.cpp b/test/verify/test_layernorm.cpp index df47ec04b65..8bc54bc2e9b 100644 --- a/test/verify/test_layernorm.cpp +++ b/test/verify/test_layernorm.cpp @@ -58,7 +58,7 @@ migraphx::instruction_ref add_layernorm(migraphx::module& m, auto div = m.add_instruction(migraphx::make_op("div"), sub, sqrt_mbcast); auto scale_mbcast = m.add_instruction(migraphx::make_op("multibroadcast", {{"out_lens", dims}}), scale); - auto mul = m.add_instruction(migraphx::make_op("mul"), scale_mbcast, div); + auto mul = m.add_instruction(migraphx::make_op("mul"), div, scale_mbcast); auto bias_mbcast = m.add_instruction(migraphx::make_op("multibroadcast", {{"out_lens", dims}}), bias); @@ -171,7 +171,7 @@ struct test_add_layernorm_add_gemm_nonstd : verify_programadd_parameter("x", s); auto y = mm->add_parameter("y", s); auto z = mm->add_parameter("z", migraphx::shape{migraphx::shape::float_type, {8, 16, 64}});