Skip to content

Commit 3d3f6b1

Browse files
committed
fix bug in reverse (backward) direction of RNNv2
1 parent 82e6911 commit 3d3f6b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/caffe/layers/rnn_v2_layer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ void RNNv2Layer<Dtype>::LayerSetUp(const vector<Blob<Dtype> *> &bottom,
405405
}
406406
}
407407
//
408-
this->FillUnrolledNet(&net_param, "x_rev", "cont", output_names, recur_name_prefix, "bw_");
408+
this->FillUnrolledNet(&net_param, "x_rev", "cont_rev", output_names, recur_name_prefix, "bw_");
409409
{
410410
// reverse output back
411411
LayerParameter *reverse_output_layer_param = net_param.add_layer();

0 commit comments

Comments
 (0)