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...
|
| UnpackPatchToColXExp (const SrcExp &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) |
| constructor More...
|
|
Public Member Functions inherited from mshadow::expr::MakeTensorExp< UnpackPatchToColXExp< SrcExp, DType, srcdim >, SrcExp, 2, DType > |
const UnpackPatchToColXExp< SrcExp, DType, srcdim > & | real_self (void) const |
| true self of subtype More...
|
|
Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< UnpackPatchToColXExp< SrcExp, DType, srcdim >, SrcExp, dim, DType >, DType, type::kChainer > |
const MakeTensorExp< UnpackPatchToColXExp< SrcExp, DType, srcdim >, SrcExp, dim, DType > & | self (void) const |
|
MakeTensorExp< UnpackPatchToColXExp< SrcExp, DType, srcdim >, SrcExp, dim, DType > * | ptrself (void) |
|
template<typename SrcExp, typename DType, int srcdim>
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:
- Template Parameters
-
SrcExp | source expression |
dstdim | destination dimension |