fix comment I forgot about from @shelhamer's review of #1970
authorJeff Donahue <jeff.donahue@gmail.com>
Wed, 4 Mar 2015 19:17:51 +0000 (11:17 -0800)
committerJeff Donahue <jeff.donahue@gmail.com>
Wed, 4 Mar 2015 19:17:51 +0000 (11:17 -0800)
src/caffe/layers/inner_product_layer.cpp

index 6b88724..89e0c8f 100644 (file)
@@ -19,7 +19,7 @@ void InnerProductLayer<Dtype>::LayerSetUp(const vector<Blob<Dtype>*>& bottom,
       this->layer_param_.inner_product_param().axis());
   // Dimensions starting from "axis" are "flattened" into a single
   // length K_ vector. For example, if bottom[0]'s shape is (N, C, H, W),
-  // N inner products with dimension CHW are performed.
+  // and axis == 1, N inner products with dimension CHW are performed.
   K_ = bottom[0]->count(axis);
   // Check if we need to set up the weights
   if (this->blobs_.size() > 0) {