MaxPooling
所属分类:matlab编程
开发工具:matlab
文件大小:15KB
下载次数:74
上传日期:2014-09-04 18:25:58
上 传 者:
我哈哈
说明: 实现深度学习过程中的一个maxpooling功能,自适应窗口选择,进行maxpooling的实现。
(Realize the depth of the learning process of a maxpooling function, adaptive window selection, carried maxpooling implementation.)
文件列表:
MaxPooling\.cproject (11090, 2011-06-24)
MaxPooling\.project (2573, 2011-07-11)
MaxPooling\.settings\org.eclipse.cdt.managedbuilder.core.prefs (1179, 2011-06-24)
MaxPooling\.settings\org.eclipse.core.resources.prefs (91, 2011-07-11)
MaxPooling\MaxPooling.cpp (8899, 2011-07-18)
MaxPooling\MaxPooling.m (404, 2011-07-18)
MaxPooling\MaxPooling.mexmaci64 (29888, 2011-07-12)
MaxPooling\MaxPooling.m~ (1, 2011-07-11)
MaxPooling\.settings (0, 2014-09-04)
MaxPooling (0, 2014-09-04)
Mex implementation of the max-pooling operation for 4D tensors.
Supports also the case when the input dims (rows, cols) are not multiples of the
pooling dims.
It is a template function and at the moment single and double precision are
supported.
Implements also a multithread processing using openmp along the channels.
To compile without openmp:
mex CFLAGS="-funroll-loops -O2" MaxPooling.cpp
To compile with openmp:
/Applications/MATLAB_R2010b.app/bin/mex MaxPooling.cpp -v
LDFLAGS="\$LDFLAGS -fopenmp"
CXXFLAGS="\$CXXFLAGS -fopenmp -O2 -funroll-loops"
CFLAGS="\$CFLAGS -fopenmp -O2 -funroll-loops"
COPTIMFLAGS="$COPTIMFLAGS -fopenmp"
CC="gcc-4.2 -DOPENMP" CXX="g++-4.2 -DOPENMP" LD="g++-4.2"
-largeArrayDims
in practice just define OPENMP with the corresponding flags.
July 11, 2011
Implemented the first version of the mex file. Tested a little and seems ok.
- Jonathan Masci
近期下载者:
相关文件:
收藏者: