Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Is something wrong in inner_product_layer.cpp? #5768
Comments
gauss-clb
commented
Jul 12, 2017
|
Oh, I'm sorry. |
gauss-clb
closed this
Jul 16, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
gauss-clb commentedJul 12, 2017
•
edited
https://github.com/BVLC/caffe/blob/master/src/caffe/layers/inner_product_layer.cpp#L33
I think the shape of weight should be
K_* N_if transpose_=false, because the shape of bottom blobs is reshaped toM_* K_, so is it wrong from line 33 to 39?But weight are initialized randomly so the effect of
K_* N_is the same asN_* K_, because we use 1-dimension array to store weights.But I think the code should be correct at the shape of blobs logically. Do you agree with me?