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.
本文介绍了Caffe中用于执行前向传播的矩阵乘法运算的实现细节。具体讨论了如何使用cblas_sgemm函数来进行单精度浮点数的矩阵乘法,并解释了其在Caffe框架内的作用。
265

被折叠的 条评论
为什么被折叠?



