mxnet
Classes | Namespaces | Functions
unpack_patch2col.h File Reference

support for unpack More...

#include "../extension.h"
Include dependency graph for unpack_patch2col.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mshadow::expr::UnpackPatchToColXExp< SrcExp, DType, srcdim >
 unpack local (overlap) patches of image to column of mat, can be used to implement convolution, this expression allow unpack of a batch this is a version support unpacking multiple images after getting unpacked mat, we can use: output = dot(weight, mat) to get covolved results, the relations: More...
 
struct  mshadow::expr::Plan< UnpackPatchToColXExp< SrcExp, DType, srcdim >, DType >
 

Namespaces

 mshadow
 namespace for mshadow
 
 mshadow::expr
 namespace for abstract expressions and expressions template, have no dependency on tensor.h, These data structure takes no charge in computations, they are only used to define operations and represent expression in a symbolic way
 

Functions

template<typename SrcExp , typename DType , int etype>
UnpackPatchToColXExp< SrcExp, DType, ExpInfo< SrcExp >::kDim > mshadow::expr::unpack_patch2col (const Exp< SrcExp, DType, etype > &img, index_t psize_y, index_t psize_x, index_t pstride, index_t pdilate)
 unpack local (overlap) patches of image to column of mat, can be used to implement convolution after getting unpacked mat, we can use: output = dot(weight, mat) to get covolved results, the relations: More...
 
template<typename SrcExp , typename DType , int etype>
UnpackPatchToColXExp< SrcExp, DType, ExpInfo< SrcExp >::kDim > mshadow::expr::unpack_patch2col (const Exp< SrcExp, DType, etype > &img, index_t psize_y, index_t psize_x, index_t pstride_y_, index_t pstride_x_, index_t pdilate_y_, index_t pdilate_x_)
 

Detailed Description

support for unpack

Copyright (c) 2014 by Contributors

Author
Tianqi Chen