"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "0dd8ee4f4f18d76993e5717274e38c8b0d2dea91"
Commit d3a09f1a authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent f104371f
......@@ -213,8 +213,8 @@ std::vector<instruction_ref> rewrite_rnn::rnn_cell(bool is_forward,
instruction_ref hidden_out = prog.end();
instruction_ref last_out{};
last_out = prog.insert_instruction(ins, op::unsqueeze{{0, 1}}, sih);
std::size_t seq_len = input->get_shape().lens()[0];
last_out = prog.insert_instruction(ins, op::unsqueeze{{0, 1}}, sih);
std::size_t seq_len = input->get_shape().lens()[0];
for(std::size_t i = 0; i < seq_len; i++)
{
long seq_index = is_forward ? i : (seq_len - 1 - i);
......
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