reshape the content to another shape input: Tensor<Device,dimsrc>: ishape output: Tensor<Device,dimdst> ishape.Size() == oshape.Size()
More...
|
| | ReshapeExp (const SrcExp &src, Shape< dimdst > shape) |
| | constructor More...
|
| |
Public Member Functions inherited from mshadow::expr::MakeTensorExp< ReshapeExp< SrcExp, DType, dimdst, dimsrc >, SrcExp, dimdst, DType > |
| const ReshapeExp< SrcExp, DType, dimdst, dimsrc > & | real_self (void) const |
| | true self of subtype More...
|
| |
Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< ReshapeExp< SrcExp, DType, dimdst, dimsrc >, SrcExp, dim, DType >, DType, type::kChainer > |
| const MakeTensorExp< ReshapeExp< SrcExp, DType, dimdst, dimsrc >, SrcExp, dim, DType > & | self (void) const |
| |
| MakeTensorExp< ReshapeExp< SrcExp, DType, dimdst, dimsrc >, SrcExp, dim, DType > * | ptrself (void) |
| |
template<typename SrcExp, typename DType, int dimdst, int dimsrc>
struct mshadow::expr::ReshapeExp< SrcExp, DType, dimdst, dimsrc >
reshape the content to another shape input: Tensor<Device,dimsrc>: ishape output: Tensor<Device,dimdst> ishape.Size() == oshape.Size()
- Template Parameters
-
| SrcExp | source expression |
| dimdst | target dimension |
| dimsrc | source dimension |