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

padding expression, pad a image with zeros More...

#include <pad.h>

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

Public Member Functions

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

Public Attributes

const SrcExp & src_
 source operand More...
 
index_t pad_y_
 pad size in y More...
 
index_t pad_x_
 pad size in x More...
 
index_t src_height_
 source tensor height More...
 
index_t src_width_
 source tensor width More...
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< PaddingExp< 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::PaddingExp< SrcExp, DType, srcdim >

padding expression, pad a image with zeros

Template Parameters
SrcExpsource expression
DTypethe type of elements
srcdimdimension of src

Constructor & Destructor Documentation

template<typename SrcExp, typename DType, int srcdim>
mshadow::expr::PaddingExp< SrcExp, DType, srcdim >::PaddingExp ( const SrcExp &  src,
index_t  pad_y,
index_t  pad_x 
)
inline

constructor

Member Data Documentation

template<typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::PaddingExp< SrcExp, DType, srcdim >::pad_x_

pad size in x

template<typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::PaddingExp< SrcExp, DType, srcdim >::pad_y_

pad size in y

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

source operand

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

source tensor height

template<typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::PaddingExp< SrcExp, DType, srcdim >::src_width_

source tensor width


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