Apache SINGA
A distributed deep learning platform .
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Macros
Public Member Functions | Public Attributes | List of all members
mshadow::expr::PackColToPatchXExp< Device, dstdim > Struct Template Reference

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

#include <tensor_expr_ext.h>

Inheritance diagram for mshadow::expr::PackColToPatchXExp< Device, dstdim >:
mshadow::expr::MakeTensorExp< PackColToPatchXExp< Device, dstdim >, Tensor< Device, 2 >, dstdim > mshadow::expr::Exp< MakeTensorExp< PackColToPatchXExp< Device, dstdim >, Tensor< Device, 2 >, dim >, type::kMapper >

Public Member Functions

 PackColToPatchXExp (const Tensor< Device, 2 > &mat, Shape< dstdim > imshape, index_t psize, index_t pstride)
 constructor
 
- Public Member Functions inherited from mshadow::expr::MakeTensorExp< PackColToPatchXExp< Device, dstdim >, Tensor< Device, 2 >, dstdim >
const PackColToPatchXExp
< Device, dstdim > & 
real_self (void) const
 true self of subtype
 
- Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< PackColToPatchXExp< Device, dstdim >, Tensor< Device, 2 >, dim >, type::kMapper >
const MakeTensorExp
< PackColToPatchXExp< Device,
dstdim >, Tensor< Device, 2 >
, dim > & 
self (void) const
 
MakeTensorExp
< PackColToPatchXExp< Device,
dstdim >, Tensor< Device, 2 >
, dim > & 
refself (void)
 

Public Attributes

const Tensor< Device, 2 > & mat_
 source operand
 
index_t psize_
 patch size
 
index_t pstride_
 patch stride
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< PackColToPatchXExp< Device, dstdim >, Tensor< Device, 2 >, dstdim >
Shape< dim > shape_
 the shape of this expression
 

Detailed Description

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

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

Template Parameters
Devicewhich device it lies
dstdimdestination dimension

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