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::PaddingExp< SrcExp, srcdim > Struct Template Reference

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

#include <tensor_expr_ext.h>

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

Public Member Functions

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

Public Attributes

const SrcExp & src_
 source operand
 
index_t pad_
 pad size
 
index_t src_height_
 source tensor height
 
index_t src_width_
 source tensor width
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< PaddingExp< SrcExp, srcdim >, SrcExp, srcdim >
Shape< dim > shape_
 the shape of this expression
 

Detailed Description

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

padding expression, pad a image with zeros

Template Parameters
SrcExpsource expression to be pooled from
srcdimdimension of src

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