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

nearest neighboor upsampling out(x, y) = in(int(x / scale_x), int(y / scale_y)) More...

#include <spatial_upsampling_nearest.h>

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

Public Member Functions

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

Public Attributes

const SrcExp & src_
 source oprand More...
 
index_t scale_
 up sampling scale More...
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< UpSamplingNearestExp< 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::UpSamplingNearestExp< SrcExp, DType, srcdim >

nearest neighboor upsampling out(x, y) = in(int(x / scale_x), int(y / scale_y))

Template Parameters
SrcExpsource expression
DTypedata type
srcdimsource dimension

Constructor & Destructor Documentation

template<typename SrcExp, typename DType, int srcdim>
mshadow::expr::UpSamplingNearestExp< SrcExp, DType, srcdim >::UpSamplingNearestExp ( const SrcExp &  src,
index_t  scale 
)
inline

constructor

Member Data Documentation

template<typename SrcExp, typename DType, int srcdim>
index_t mshadow::expr::UpSamplingNearestExp< SrcExp, DType, srcdim >::scale_

up sampling scale

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

source oprand


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