Apache SINGA
A distributed deep learning platform .
 All Classes Namespaces Files Functions Variables Typedefs Macros
Public Member Functions | Public Attributes | List of all members
mshadow::expr::PoolingExp< Reducer, SrcExp, srcdim > Struct Template Reference

pooling expression, do reduction over local patches of a image More...

#include <tensor_expr_ext.h>

Inheritance diagram for mshadow::expr::PoolingExp< Reducer, SrcExp, srcdim >:
mshadow::expr::MakeTensorExp< PoolingExp< Reducer, SrcExp, srcdim >, SrcExp, srcdim > mshadow::expr::Exp< MakeTensorExp< PoolingExp< Reducer, SrcExp, srcdim >, SrcExp, dim >, type::kMapper >

Public Member Functions

 PoolingExp (const SrcExp &src, index_t ksize, index_t kstride)
 constructor
 
 PoolingExp (const SrcExp &src, Shape< 2 > pshape, index_t ksize, index_t kstride)
 constructor, specify shape
 
- Public Member Functions inherited from mshadow::expr::MakeTensorExp< PoolingExp< Reducer, SrcExp, srcdim >, SrcExp, srcdim >
const PoolingExp< Reducer,
SrcExp, srcdim > & 
real_self (void) const
 true self of subtype
 
- Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< PoolingExp< Reducer, SrcExp, srcdim >, SrcExp, dim >, type::kMapper >
const MakeTensorExp
< PoolingExp< Reducer, SrcExp,
srcdim >, SrcExp, dim > & 
self (void) const
 
MakeTensorExp< PoolingExp
< Reducer, SrcExp, srcdim >
, SrcExp, dim > & 
refself (void)
 

Public Attributes

const SrcExp & src_
 source operand
 
index_t ksize_
 kernel size
 
index_t kstride_
 kernel stride
 
index_t src_height_
 source height shape[1]
 
index_t src_width_
 source width shape[0]
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< PoolingExp< Reducer, SrcExp, srcdim >, SrcExp, srcdim >
Shape< dim > shape_
 the shape of this expression
 

Detailed Description

template<typename Reducer, typename SrcExp, int srcdim>
struct mshadow::expr::PoolingExp< Reducer, SrcExp, srcdim >

pooling expression, do reduction over local patches of a image

Template Parameters
Reducerreduction method during pooling
SrcExpsource expression to be pooled from
srcdimdimension of src

The documentation for this struct was generated from the following file: