Commit bbd4e0c3 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 837304f7
...@@ -1047,7 +1047,8 @@ TEST_CASE(gemm_mutli_dim_2_beta0) ...@@ -1047,7 +1047,8 @@ TEST_CASE(gemm_mutli_dim_2_beta0)
-0.69359678, -0.26334436, 1.56292796, -0.33629175, -1.72693469, -0.69359678, -0.26334436, 1.56292796, -0.33629175, -1.72693469,
0.41435494, 1.52136843, -0.40699791, -1.59839430}; 0.41435494, 1.52136843, -0.40699791, -1.59839430};
migraphx::shape m2_shape{migraphx::shape::float_type, {2, 3, 4}}; migraphx::shape m2_shape{migraphx::shape::float_type, {2, 3, 4}};
std::vector<float> m3 = {0.18208394, -0.49276402, std::vector<float> m3 = {0.18208394,
-0.49276402,
0.87189133, 0.87189133,
0.75150114, 0.75150114,
-0.55909610, -0.55909610,
...@@ -1097,16 +1098,21 @@ TEST_CASE(gemm_mutli_dim_2_beta0) ...@@ -1097,16 +1098,21 @@ TEST_CASE(gemm_mutli_dim_2_beta0)
TEST_CASE(gemm_beta_0) TEST_CASE(gemm_beta_0)
{ {
migraphx::program p; migraphx::program p;
std::vector<float> m1 = {-0.76234141, std::vector<float> m1 = {
0.01368910, -0.76234141, 0.01368910, -0.86343423, -0.99465282, 0.76133268, 0.96507140};
-0.86343423,
-0.99465282,
0.76133268,
0.96507140};
migraphx::shape m1_shape{migraphx::shape::float_type, {1, 2, 3}}; migraphx::shape m1_shape{migraphx::shape::float_type, {1, 2, 3}};
std::vector<float> m2 = {-0.15933632, -0.69594712, -0.06198966, -1.23905184, -0.83672704, std::vector<float> m2 = {-0.15933632,
-1.06971832, -0.12272917, 1.07094116, -0.08346820, 1.16820693, -0.69594712,
-0.95700874, 0.24059691}; -0.06198966,
-1.23905184,
-0.83672704,
-1.06971832,
-0.12272917,
1.07094116,
-0.08346820,
1.16820693,
-0.95700874,
0.24059691};
migraphx::shape m2_shape{migraphx::shape::float_type, {1, 3, 4}}; migraphx::shape m2_shape{migraphx::shape::float_type, {1, 3, 4}};
migraphx::shape m3_shape{migraphx::shape::float_type, {1, 2, 4}}; migraphx::shape m3_shape{migraphx::shape::float_type, {1, 2, 4}};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment