mxnet
|
pooling expression, do reduction over local patches of a image More...
#include <spatial_pool.h>
Public Member Functions | |
PoolingExp (const SrcExp &src, index_t ksize_y, index_t ksize_x, index_t kstride_y, index_t kstride_x) | |
constructor More... | |
PoolingExp (const SrcExp &src, Shape< 2 > pshape, index_t ksize_y, index_t ksize_x, index_t kstride_y, index_t kstride_x) | |
constructor, specify shape More... | |
Public Member Functions inherited from mshadow::expr::MakeTensorExp< PoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, srcdim, DType > | |
const PoolingExp< Reducer, SrcExp, DType, srcdim > & | real_self (void) const |
true self of subtype More... | |
Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< PoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, dim, DType >, DType, type::kChainer > | |
const MakeTensorExp< PoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, dim, DType > & | self (void) const |
MakeTensorExp< PoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, dim, DType > * | ptrself (void) |
Public Attributes | |
const SrcExp & | src_ |
source operand More... | |
index_t | ksize_y_ |
kernel size in height More... | |
index_t | ksize_x_ |
kernel size in width More... | |
index_t | kstride_y_ |
kernel stride in y directory More... | |
index_t | kstride_x_ |
kernel stride in x directory More... | |
index_t | src_height_ |
source height shape[1] More... | |
index_t | src_width_ |
source width shape[0] More... | |
Public Attributes inherited from mshadow::expr::MakeTensorExp< PoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, srcdim, DType > | |
Shape< dim > | shape_ |
the shape of this expression More... | |
pooling expression, do reduction over local patches of a image
Reducer | reduction method during pooling |
SrcExp | source expression to be pooled from |
DType | the content data type |
srcdim | dimension of src |
|
inline |
constructor
|
inline |
constructor, specify shape
index_t mshadow::expr::PoolingExp< Reducer, SrcExp, DType, srcdim >::ksize_x_ |
kernel size in width
index_t mshadow::expr::PoolingExp< Reducer, SrcExp, DType, srcdim >::ksize_y_ |
kernel size in height
index_t mshadow::expr::PoolingExp< Reducer, SrcExp, DType, srcdim >::kstride_x_ |
kernel stride in x directory
index_t mshadow::expr::PoolingExp< Reducer, SrcExp, DType, srcdim >::kstride_y_ |
kernel stride in y directory
const SrcExp& mshadow::expr::PoolingExp< Reducer, SrcExp, DType, srcdim >::src_ |
source operand
index_t mshadow::expr::PoolingExp< Reducer, SrcExp, DType, srcdim >::src_height_ |
source height shape[1]
index_t mshadow::expr::PoolingExp< Reducer, SrcExp, DType, srcdim >::src_width_ |
source width shape[0]