nearest neighboor upsampling out(x, y) = in(int(x / scale_x), int(y / scale_y))
More...
|
| | 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) |
| |
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
-
| SrcExp | source expression |
| DType | data type |
| srcdim | source dimension |