caffe中的forward_cpu_gemm
用到 caffe_cpu_gemm
用到 cblas_sgemm
是blas库中的函数:
cblas_sgemm Multiplies two matrices (single-precision).
可以参考 http://www.cnblogs.com/huashiyiqike/p/3871927.html
Thus, it calculates either C←αAB + βC or C←αBA + βC with optional use of transposed forms of A, B, or both.