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

unpooling expr reverse operation of pooling, used to pass gradient back More...

#include <spatial_unpool.h>

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

Public Member Functions

 UnPoolingExp (const SrcExp &data_src, const SrcExp &data_pooled, const SrcExp &grad_pooled, index_t ksize_y, index_t ksize_x, index_t kstride_y, index_t kstride_x)
 constructor More...
 
- Public Member Functions inherited from mshadow::expr::MakeTensorExp< UnPoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, srcdim, DType >
const UnPoolingExp< Reducer, SrcExp, DType, srcdim > & real_self (void) const
 true self of subtype More...
 
- Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< UnPoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, dim, DType >, DType, type::kChainer >
const MakeTensorExp< UnPoolingExp< Reducer, SrcExp, DType, srcdim >, SrcExp, dim, DType > & self (void) const
 
MakeTensorExp< UnPoolingExp< 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 pshape_y_
 shape of pooled expression More...
 
index_t pshape_x_
 shape of pooled expression 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...
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< UnPoolingExp< 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::UnPoolingExp< Reducer, SrcExp, DType, srcdim >

unpooling expr reverse operation of pooling, used to pass gradient back

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

Constructor & Destructor Documentation

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
mshadow::expr::UnPoolingExp< Reducer, SrcExp, DType, srcdim >::UnPoolingExp ( const SrcExp &  data_src,
const SrcExp &  data_pooled,
const SrcExp &  grad_pooled,
index_t  ksize_y,
index_t  ksize_x,
index_t  kstride_y,
index_t  kstride_x 
)
inline

constructor

Member Data Documentation

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
const SrcExp& mshadow::expr::UnPoolingExp< 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::UnPoolingExp< 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::UnPoolingExp< 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::UnPoolingExp< Reducer, SrcExp, DType, srcdim >::ksize_x_

kernel size in width

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::UnPoolingExp< Reducer, SrcExp, DType, srcdim >::ksize_y_

kernel size in height

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::UnPoolingExp< Reducer, SrcExp, DType, srcdim >::kstride_x_

kernel stride in x directory

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::UnPoolingExp< Reducer, SrcExp, DType, srcdim >::kstride_y_

kernel stride in y directory

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::UnPoolingExp< Reducer, SrcExp, DType, srcdim >::pshape_x_

shape of pooled expression

template<typename Reducer, typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::UnPoolingExp< Reducer, SrcExp, DType, srcdim >::pshape_y_

shape of pooled expression


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