Skip to content

Commit

Permalink
Typos in test_inner_product_layer.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
ftokarev committed Dec 30, 2016
1 parent 3edfd7e commit 1fd8bd0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/caffe/test/test_inner_product_layer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,9 @@ TYPED_TEST(InnerProductLayerTest, TestSetUp) {
EXPECT_EQ(this->blob_top_->channels(), 10);
}

/** @brief TestSetUp while toggling tranpose flag
/** @brief TestSetUp while toggling transpose flag
*/
TYPED_TEST(InnerProductLayerTest, TestSetUpTranposeFalse) {
TYPED_TEST(InnerProductLayerTest, TestSetUpTransposeFalse) {
typedef typename TypeParam::Dtype Dtype;
this->blob_bottom_vec_.push_back(this->blob_bottom_);
LayerParameter layer_param;
Expand All @@ -82,9 +82,9 @@ TYPED_TEST(InnerProductLayerTest, TestSetUpTranposeFalse) {
EXPECT_EQ(60, layer->blobs()[0]->shape(1));
}

/** @brief TestSetUp while toggling tranpose flag
/** @brief TestSetUp while toggling transpose flag
*/
TYPED_TEST(InnerProductLayerTest, TestSetUpTranposeTrue) {
TYPED_TEST(InnerProductLayerTest, TestSetUpTransposeTrue) {
typedef typename TypeParam::Dtype Dtype;
this->blob_bottom_vec_.push_back(this->blob_bottom_);
LayerParameter layer_param;
Expand Down Expand Up @@ -339,7 +339,7 @@ TYPED_TEST(InnerProductLayerTest, TestBackwardTranspose) {
// copy bottom diffs
Blob<Dtype>* const bottom_diff = new Blob<Dtype>();
bottom_diff->CopyFrom(*this->blob_bottom_vec_[0], true, true);
// repeat original top with tranposed ip
// repeat original top with transposed ip
this->blob_top_vec_.clear();
this->blob_top_vec_.push_back(new Blob<Dtype>());
inner_product_param->set_transpose(true);
Expand Down

0 comments on commit 1fd8bd0

Please sign in to comment.