Commit 5cfe1075 authored by Rob Earhart's avatar Rob Earhart

Style update

parent a18ad791
...@@ -163,7 +163,8 @@ ngraph::runtime::plaidml::Config ...@@ -163,7 +163,8 @@ ngraph::runtime::plaidml::Config
// So to verify that there is a non-zero-length option value, test oval_len // So to verify that there is a non-zero-length option value, test oval_len
// To verify that there is no option value, test has_oval // To verify that there is no option value, test has_oval
if (oname_begin == oname_end && !has_oval) { if (oname_begin == oname_end && !has_oval)
{
// An empty option; poor style, but advance to the next. // An empty option; poor style, but advance to the next.
continue; continue;
} }
......
...@@ -47,9 +47,9 @@ ngraph::runtime::plaidml::pass::ReplicateCombination::ReplicateCombination() ...@@ -47,9 +47,9 @@ ngraph::runtime::plaidml::pass::ReplicateCombination::ReplicateCombination()
*ait *= *uit; *ait *= *uit;
} }
replace_node(lower, replace_node(
std::make_shared<plaidml::op::Replicate>(upper->get_argument(0), lower,
std::move(axes))); std::make_shared<plaidml::op::Replicate>(upper->get_argument(0), std::move(axes)));
return true; return true;
}; };
......
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