Commit 857df64e authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent bddd8454
...@@ -156,9 +156,9 @@ void rewrite_gru::apply(program& prog) const ...@@ -156,9 +156,9 @@ void rewrite_gru::apply(program& prog) const
// with the last_output, if gru_last_output exists // with the last_output, if gru_last_output exists
// while loop to handle case of multiple gru_last_output operators // while loop to handle case of multiple gru_last_output operators
auto last_output_it = ins->outputs().begin(); auto last_output_it = ins->outputs().begin();
while (last_output_it != ins->outputs().end()) while(last_output_it != ins->outputs().end())
{ {
last_output_it = std::find_if(last_output_it, ins->outputs().end(), [] (auto i) { last_output_it = std::find_if(last_output_it, ins->outputs().end(), [](auto i) {
return i->name() == "gru_last_output"; return i->name() == "gru_last_output";
}); });
......
...@@ -159,9 +159,9 @@ void rewrite_rnn::apply(program& prog) const ...@@ -159,9 +159,9 @@ void rewrite_rnn::apply(program& prog) const
// search its output to find if there are rnn_last_output operator // search its output to find if there are rnn_last_output operator
// while loop to handle case of multiple rnn_last_output operators // while loop to handle case of multiple rnn_last_output operators
auto last_output_it = ins->outputs().begin(); auto last_output_it = ins->outputs().begin();
while (last_output_it != ins->outputs().end()) while(last_output_it != ins->outputs().end())
{ {
last_output_it = std::find_if(last_output_it, ins->outputs().end(), [] (auto i) { last_output_it = std::find_if(last_output_it, ins->outputs().end(), [](auto i) {
return i->name() == "rnn_last_output"; return i->name() == "rnn_last_output";
}); });
......
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