mxnet
Public Member Functions | Public Attributes | List of all members
mshadow::expr::ChannelUnpoolingExp< 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_unpool.h>

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

Public Member Functions

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

Public Attributes

const SrcExp & data_src_
 source input, corresponds to src in pooling More...
 
const SrcExp & data_pooled_
 result of pooled data, corresponds to result of pooling More...
 
const SrcExp & grad_pooled_
 gradient data of pooled part, to be propgate down More...
 
index_t pchannel_
 channel of pooled expression More...
 
index_t nsize_
 kernel size in height More...
 
index_t kstride_
 kernel size in width More...
 
index_t pad_
 pad More...
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< ChannelUnpoolingExp< 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::ChannelUnpoolingExp< 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::ChannelUnpoolingExp< Reducer, SrcExp, DType, srcdim >::ChannelUnpoolingExp ( const SrcExp &  data_src,
const SrcExp &  data_pooled,
const SrcExp &  grad_pooled,
index_t  nsize,
index_t  kstride,
index_t  pad 
)
inline

constructor

Member Data Documentation

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
const SrcExp& mshadow::expr::ChannelUnpoolingExp< Reducer, SrcExp, DType, srcdim >::data_pooled_

result of pooled data, corresponds to result of pooling

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
const SrcExp& mshadow::expr::ChannelUnpoolingExp< Reducer, SrcExp, DType, srcdim >::data_src_

source input, corresponds to src in pooling

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
const SrcExp& mshadow::expr::ChannelUnpoolingExp< Reducer, SrcExp, DType, srcdim >::grad_pooled_

gradient data of pooled part, to be propgate down

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::ChannelUnpoolingExp< Reducer, SrcExp, DType, srcdim >::kstride_

kernel size in width

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

kernel size in height

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

pad

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::ChannelUnpoolingExp< Reducer, SrcExp, DType, srcdim >::pchannel_

channel of pooled expression


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