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

reverse operation of UnpackPatchToCol, used to backprop gradient back this is a version supporting multiple images More...

#include <pack_col2patch.h>

Inheritance diagram for mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >:
Inheritance graph
Collaboration diagram for mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >:
Collaboration graph

Public Member Functions

 PackColToPatchXExp (const SrcExp &src, Shape< dstdim > imshape, index_t psize_y, index_t psize_x, index_t pstride_y, index_t pstride_x, index_t pdilate_y, index_t pdilate_x)
 constructor More...
 
- Public Member Functions inherited from mshadow::expr::MakeTensorExp< PackColToPatchXExp< SrcExp, DType, dstdim >, SrcExp, dstdim, DType >
const PackColToPatchXExp< SrcExp, DType, dstdim > & real_self (void) const
 true self of subtype More...
 
- Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< PackColToPatchXExp< SrcExp, DType, dstdim >, SrcExp, dim, DType >, DType, type::kChainer >
const MakeTensorExp< PackColToPatchXExp< SrcExp, DType, dstdim >, SrcExp, dim, DType > & self (void) const
 
MakeTensorExp< PackColToPatchXExp< SrcExp, DType, dstdim >, SrcExp, dim, DType > * ptrself (void)
 

Public Attributes

const SrcExp & src_
 source operand More...
 
index_t psize_y_
 patch height More...
 
index_t psize_x_
 patch height More...
 
index_t pstride_y_
 patch stride More...
 
index_t pstride_x_
 
index_t pdilate_y_
 patch dilate More...
 
index_t pdilate_x_
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< PackColToPatchXExp< SrcExp, DType, dstdim >, SrcExp, dstdim, DType >
Shape< dim > shape_
 the shape of this expression More...
 

Detailed Description

template<typename SrcExp, typename DType, int dstdim>
struct mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >

reverse operation of UnpackPatchToCol, used to backprop gradient back this is a version supporting multiple images

Template Parameters
SrcExpsource expression
DTypethe type of elements
dstdimdestination dimension

Constructor & Destructor Documentation

template<typename SrcExp, typename DType, int dstdim>
mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >::PackColToPatchXExp ( const SrcExp &  src,
Shape< dstdim >  imshape,
index_t  psize_y,
index_t  psize_x,
index_t  pstride_y,
index_t  pstride_x,
index_t  pdilate_y,
index_t  pdilate_x 
)
inline

constructor

Member Data Documentation

template<typename SrcExp, typename DType, int dstdim>
index_t mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >::pdilate_x_
template<typename SrcExp, typename DType, int dstdim>
index_t mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >::pdilate_y_

patch dilate

template<typename SrcExp, typename DType, int dstdim>
index_t mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >::psize_x_

patch height

template<typename SrcExp, typename DType, int dstdim>
index_t mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >::psize_y_

patch height

template<typename SrcExp, typename DType, int dstdim>
index_t mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >::pstride_x_
template<typename SrcExp, typename DType, int dstdim>
index_t mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >::pstride_y_

patch stride

template<typename SrcExp, typename DType, int dstdim>
const SrcExp& mshadow::expr::PackColToPatchXExp< SrcExp, DType, dstdim >::src_

source operand


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