"test/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "51597ed76fce131a8f39b739bd18e84108e4443c"
Commit 1bc16951 authored by turneram's avatar turneram
Browse files

Formatting

parent c7096299
...@@ -44,8 +44,8 @@ struct parse_layernorm : op_parser<parse_layernorm> ...@@ -44,8 +44,8 @@ struct parse_layernorm : op_parser<parse_layernorm>
auto mean_mbcast = auto mean_mbcast =
info.add_instruction(migraphx::make_op("multibroadcast", {{"out_lens", dims}}), mean); info.add_instruction(migraphx::make_op("multibroadcast", {{"out_lens", dims}}), mean);
auto sub = info.add_instruction(migraphx::make_op("sub"), x, mean_mbcast); auto sub = info.add_instruction(migraphx::make_op("sub"), x, mean_mbcast);
auto exponent_mbcast = auto exponent_mbcast = info.add_instruction(
info.add_instruction(migraphx::make_op("multibroadcast", {{"out_lens", dims}}), exponent); migraphx::make_op("multibroadcast", {{"out_lens", dims}}), exponent);
auto pow = info.add_instruction(migraphx::make_op("pow"), sub, exponent_mbcast); auto pow = info.add_instruction(migraphx::make_op("pow"), sub, exponent_mbcast);
auto var = info.add_instruction(migraphx::make_op("reduce_mean", {{"axes", {axis}}}), pow); auto var = info.add_instruction(migraphx::make_op("reduce_mean", {{"axes", {axis}}}), pow);
auto add_epsilon = info.add_broadcastable_binary_op("add", var, epsilon_lit); auto add_epsilon = info.add_broadcastable_binary_op("add", var, epsilon_lit);
......
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