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

crop expression, cut off the boundary region, reverse operation of padding More...

#include <tensor_expr_ext.h>

Inheritance diagram for mshadow::expr::CroppingExp< SrcExp, srcdim >:
mshadow::expr::MakeTensorExp< CroppingExp< SrcExp, srcdim >, SrcExp, srcdim > mshadow::expr::Exp< MakeTensorExp< CroppingExp< SrcExp, srcdim >, SrcExp, dim >, type::kMapper >

Public Member Functions

 CroppingExp (const SrcExp &src, Shape< 2 > cshape)
 constructor
 
 CroppingExp (const SrcExp &src, Shape< 2 > cshape, index_t start_height, index_t start_width)
 constructor
 
- Public Member Functions inherited from mshadow::expr::MakeTensorExp< CroppingExp< SrcExp, srcdim >, SrcExp, srcdim >
const CroppingExp< SrcExp,
srcdim > & 
real_self (void) const
 true self of subtype
 
- Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< CroppingExp< SrcExp, srcdim >, SrcExp, dim >, type::kMapper >
const MakeTensorExp
< CroppingExp< SrcExp, srcdim >
, SrcExp, dim > & 
self (void) const
 
MakeTensorExp< CroppingExp
< SrcExp, srcdim >, SrcExp,
dim > & 
refself (void)
 

Public Attributes

const SrcExp & src_
 source operand
 
index_t pad_height_
 pad height
 
index_t pad_width_
 pad height
 
index_t src_height_
 src height
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< CroppingExp< SrcExp, srcdim >, SrcExp, srcdim >
Shape< dim > shape_
 the shape of this expression
 

Detailed Description

template<typename SrcExp, int srcdim>
struct mshadow::expr::CroppingExp< SrcExp, srcdim >

crop expression, cut off the boundary region, reverse operation of padding

Template Parameters
SrcExpsource expression to be pooled from
srcdimdimension of src

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