Skip to content

Commit a13e7ee

Browse files
committed
Revert "setting canonical random seed"
1701 is the canonical random seed, and as this test makes only one call for seeding there's no need for a member var.
1 parent efbea35 commit a13e7ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/caffe/test/test_argmax_layer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ArgMaxLayerTest : public ::testing::Test {
2222
ArgMaxLayerTest()
2323
: blob_bottom_(new Blob<Dtype>(20, 10, 1, 1)),
2424
blob_top_(new Blob<Dtype>()) {
25-
Caffe::set_random_seed(this->seed_);
25+
Caffe::set_random_seed(1701);
2626
// fill the values
2727
FillerParameter filler_param;
2828
GaussianFiller<Dtype> filler(filler_param);

0 commit comments

Comments
 (0)