From: Jeff Donahue Date: Wed, 4 Mar 2015 19:17:51 +0000 (-0800) Subject: fix comment I forgot about from @shelhamer's review of #1970 X-Git-Tag: submit/tizen/20180823.020014~556 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dec148e89d30020b0d81ea59c6d88539db83b019;p=platform%2Fupstream%2Fcaffeonacl.git fix comment I forgot about from @shelhamer's review of #1970 --- diff --git a/src/caffe/layers/inner_product_layer.cpp b/src/caffe/layers/inner_product_layer.cpp index 6b88724..89e0c8f 100644 --- a/src/caffe/layers/inner_product_layer.cpp +++ b/src/caffe/layers/inner_product_layer.cpp @@ -19,7 +19,7 @@ void InnerProductLayer::LayerSetUp(const vector*>& 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) {