add caffe_cpu_strided_dot for strided dot products
authorJonathan L Long <jonlong@cs.berkeley.edu>
Mon, 18 Aug 2014 06:15:03 +0000 (23:15 -0700)
committerJonathan L Long <jonlong@cs.berkeley.edu>
Mon, 18 Aug 2014 07:04:29 +0000 (00:04 -0700)
commite957bbc2f7b14134a27a5587352e4cc8e77f8a39
treef4406f69e4092062a6ff524f1759f3c29461482a
parentbf61d4f957e7a0a5af00f9bc70089b58ea40873a
add caffe_cpu_strided_dot for strided dot products

This provides a more direct interface to the cblas_?dot functions.
This is useful, for example, for taking dot products across channels.
include/caffe/util/math_functions.hpp
src/caffe/util/math_functions.cpp