Apache SINGA
A distributed deep learning platform .
|
reshape the content to another shape input: Tensor<Device,dimsrc>: ishape output: Tensor<Device,dimdst> ishape.Size() == oshape.Size() More...
#include <tensor_expr_ext.h>
Public Member Functions | |
ReshapeExp (const SrcExp &src, Shape< dimdst > shape) | |
constructor | |
Public Member Functions inherited from mshadow::expr::MakeTensorExp< ReshapeExp< SrcExp, dimdst, dimsrc >, SrcExp, dimdst > | |
const ReshapeExp< SrcExp, dimdst, dimsrc > & | real_self (void) const |
true self of subtype | |
Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< ReshapeExp< SrcExp, dimdst, dimsrc >, SrcExp, dim >, type::kMapper > | |
const MakeTensorExp < ReshapeExp< SrcExp, dimdst, dimsrc >, SrcExp, dim > & | self (void) const |
MakeTensorExp< ReshapeExp < SrcExp, dimdst, dimsrc > , SrcExp, dim > & | refself (void) |
Public Attributes | |
const SrcExp & | src_ |
source expression | |
index_t | ishape0_ |
smallest dimension of input | |
Public Attributes inherited from mshadow::expr::MakeTensorExp< ReshapeExp< SrcExp, dimdst, dimsrc >, SrcExp, dimdst > | |
Shape< dim > | shape_ |
the shape of this expression | |
reshape the content to another shape input: Tensor<Device,dimsrc>: ishape output: Tensor<Device,dimdst> ishape.Size() == oshape.Size()
SrcExp | source expression |
dimdst | target dimension |
dimsrc | source dimension |