"...git@developer.sourcefind.cn:OpenDAS/mmdetection3d.git" did not exist on "6aab10da2f753f64fbac229e50134702b2808cce"
Commit 250a0243 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent e81dc0e2
...@@ -748,15 +748,15 @@ struct onnx_parser ...@@ -748,15 +748,15 @@ struct onnx_parser
// need 4 activation functions // need 4 activation functions
if(dirct == op::gru::bidirectional) if(dirct == op::gru::bidirectional)
{ {
// 4 activation functions are used in the bidirectional // 4 activation functions are used in the bidirectional
// scenario. No spec is provided in onnx::operator. we // scenario. No spec is provided in onnx::operator. we
// use the algorithm that: if 1 actv function is provides, // use the algorithm that: if 1 actv function is provides,
// repeat 1 four times. If 2 actv functins are provides, // repeat 1 four times. If 2 actv functins are provides,
// assume forward and reverse use the same pair of actv // assume forward and reverse use the same pair of actv
// functions. For the case of 3 actv functions provided, // functions. For the case of 3 actv functions provided,
// assume the 3rd one is repeated once and used by the // assume the 3rd one is repeated once and used by the
// reverse direction. // reverse direction.
// This may need change later // This may need change later
if(vec_names.size() == 1) if(vec_names.size() == 1)
{ {
vec_names.insert(vec_names.end(), 3, vec_names.at(0)); vec_names.insert(vec_names.end(), 3, vec_names.at(0));
......
...@@ -103,7 +103,7 @@ void rewrite_gru::apply(program& prog) const ...@@ -103,7 +103,7 @@ void rewrite_gru::apply(program& prog) const
gru_op.actv_funcs.at(2), gru_op.actv_funcs.at(2),
gru_op.actv_funcs.at(3)); gru_op.actv_funcs.at(3));
//auto final_output = // auto final_output =
// prog.insert_instruction(ins, op::concat{0}, ret_forward[1], ret_reverse[1]); // prog.insert_instruction(ins, op::concat{0}, ret_forward[1], ret_reverse[1]);
// add the dimension of num_direction // add the dimension of num_direction
......
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