Commit 62044b86 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format.

parent 7113cdfa
...@@ -136,10 +136,10 @@ void rewrite_rnn::apply(program& prog) const ...@@ -136,10 +136,10 @@ void rewrite_rnn::apply(program& prog) const
// operator. Intuitively, we can do a slice on the input to get // operator. Intuitively, we can do a slice on the input to get
// the last output, but it is already existed in the rnn operator, // the last output, but it is already existed in the rnn operator,
// so we can just use it as the output here // so we can just use it as the output here
if (ins->name() == "rnn_last_output") if(ins->name() == "rnn_last_output")
{ {
// if rnn operator is executed, the last_output != prog.end() // if rnn operator is executed, the last_output != prog.end()
if (last_output != prog.end()) if(last_output != prog.end())
{ {
prog.replace_instruction(ins, op::identity{}, last_output); prog.replace_instruction(ins, op::identity{}, last_output);
last_output = prog.end(); last_output = prog.end();
......
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