Commit 143543e4 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent 2d0896e7
...@@ -479,8 +479,8 @@ std::vector<instruction_ref> rewrite_rnn::gru_cell(bool is_forward, ...@@ -479,8 +479,8 @@ std::vector<instruction_ref> rewrite_rnn::gru_cell(bool is_forward,
instruction_ref hidden_states = prog.end(); instruction_ref hidden_states = prog.end();
instruction_ref last_output{}; instruction_ref last_output{};
long seq_len = static_cast<long>(seq->get_shape().lens()[0]); long seq_len = static_cast<long>(seq->get_shape().lens()[0]);
long hs = static_cast<long>(r->get_shape().lens()[2]); long hs = static_cast<long>(r->get_shape().lens()[2]);
migraphx::shape s(seq->get_shape().type(), migraphx::shape s(seq->get_shape().type(),
{seq->get_shape().lens()[1], static_cast<std::size_t>(hs)}); {seq->get_shape().lens()[1], static_cast<std::size_t>(hs)});
......
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