mxnet
Public Member Functions | Public Attributes | List of all members
mshadow::expr::ChannelPoolingExp< Reducer, SrcExp, DType, srcdim > Struct Template Reference

channel pooling expression, do reduction over (local nearby) channels, used to implement local response normalization More...

#include <channel_pool.h>

Inheritance diagram for mshadow::expr::ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >:
Inheritance graph
Collaboration diagram for mshadow::expr::ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >:
Collaboration graph

Public Member Functions

 ChannelPoolingExp (const SrcExp &src, index_t nsize, index_t stride, index_t pad)
 constructor More...
 
- Public Member Functions inherited from mshadow::expr::MakeTensorExp< ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, srcdim, DType >
const ChannelPoolingExp< Reducer, SrcExp, DType, srcdim > & real_self (void) const
 true self of subtype More...
 
- Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, dim, DType >, DType, type::kChainer >
const MakeTensorExp< ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, dim, DType > & self (void) const
 
MakeTensorExp< ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, dim, DType > * ptrself (void)
 

Public Attributes

const SrcExp & src_
 source operand More...
 
index_t nsize_
 neighbor size More...
 
index_t stride_
 stride of pooling More...
 
index_t pad_
 pad of pooling of each side More...
 
index_t src_channel_
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, srcdim, DType >
Shape< dim > shape_
 the shape of this expression More...
 

Detailed Description

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

channel pooling expression, do reduction over (local nearby) channels, used to implement local response normalization

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

Constructor & Destructor Documentation

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
mshadow::expr::ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >::ChannelPoolingExp ( const SrcExp &  src,
index_t  nsize,
index_t  stride,
index_t  pad 
)
inline

constructor

Member Data Documentation

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >::nsize_

neighbor size

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >::pad_

pad of pooling of each side

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
const SrcExp& mshadow::expr::ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >::src_

source operand

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >::src_channel_
template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::ChannelPoolingExp< Reducer, SrcExp, DType, srcdim >::stride_

stride of pooling


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