mxnet
Classes | Namespaces | Functions
spatial_pool.h File Reference

support for spatial pooling More...

#include <algorithm>
#include "../extension.h"
Include dependency graph for spatial_pool.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mshadow::expr::PoolingExp< Reducer, SrcExp, DType, srcdim >
 pooling expression, do reduction over local patches of a image More...
 
struct  mshadow::expr::Plan< PoolingExp< Reducer, SrcExp, DType, srcdim >, DType >
 

Namespaces

 mshadow
 namespace for mshadow
 
 mshadow::expr
 namespace for abstract expressions and expressions template, have no dependency on tensor.h, These data structure takes no charge in computations, they are only used to define operations and represent expression in a symbolic way
 

Functions

template<typename Reducer , typename SrcExp , typename DType , int etype>
PoolingExp< Reducer, SrcExp, DType, ExpInfo< SrcExp >::kDim > mshadow::expr::pool (const Exp< SrcExp, DType, etype > &src, index_t ksize_y, index_t ksize_x, index_t kstride_y, index_t kstride_x)
 pooling subregion results together More...
 
template<typename Reducer , typename SrcExp , typename DType , int etype>
PoolingExp< Reducer, SrcExp, DType, ExpInfo< SrcExp >::kDim > mshadow::expr::pool (const Exp< SrcExp, DType, etype > &src, Shape< 2 > pshape, index_t ksize_y, index_t ksize_x, index_t kstride_y, index_t kstride_x)
 same as pool, except the output shape is specified by pshape More...
 

Detailed Description

support for spatial pooling

Copyright (c) 2014 by Contributors

Author
Tianqi Chen