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

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

#include <crop.h>

Inheritance diagram for mshadow::expr::CroppingExp< SrcExp, DType, srcdim >:
Inheritance graph
Collaboration diagram for mshadow::expr::CroppingExp< SrcExp, DType, srcdim >:
Collaboration graph

Public Member Functions

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

Public Attributes

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

Detailed Description

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

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

Template Parameters
SrcExpsource expression to be pooled from
DTypethe type of elements
srcdimdimension of src

Constructor & Destructor Documentation

template<typename SrcExp, typename DType, int srcdim>
mshadow::expr::CroppingExp< SrcExp, DType, srcdim >::CroppingExp ( const SrcExp &  src,
Shape< 2 >  cshape 
)
inlineexplicit

constructor

template<typename SrcExp, typename DType, int srcdim>
mshadow::expr::CroppingExp< SrcExp, DType, srcdim >::CroppingExp ( const SrcExp &  src,
Shape< 2 >  cshape,
index_t  start_height,
index_t  start_width 
)
inlineexplicit

constructor

Member Data Documentation

template<typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::CroppingExp< SrcExp, DType, srcdim >::pad_height_

pad height

template<typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::CroppingExp< SrcExp, DType, srcdim >::pad_width_

pad height

template<typename SrcExp, typename DType, int srcdim>
const SrcExp& mshadow::expr::CroppingExp< SrcExp, DType, srcdim >::src_

source operand

template<typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::CroppingExp< SrcExp, DType, srcdim >::src_height_

src height


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