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::ReshapeExp< SrcExp, dimdst, dimsrc > Struct Template Reference

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>

Inheritance diagram for mshadow::expr::ReshapeExp< SrcExp, dimdst, dimsrc >:
mshadow::expr::MakeTensorExp< ReshapeExp< SrcExp, dimdst, dimsrc >, SrcExp, dimdst > mshadow::expr::Exp< MakeTensorExp< ReshapeExp< SrcExp, dimdst, dimsrc >, SrcExp, dim >, type::kMapper >

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
 

Detailed Description

template<typename SrcExp, int dimdst, int dimsrc>
struct mshadow::expr::ReshapeExp< SrcExp, dimdst, dimsrc >

reshape the content to another shape input: Tensor<Device,dimsrc>: ishape output: Tensor<Device,dimdst> ishape.Size() == oshape.Size()

Template Parameters
SrcExpsource expression
dimdsttarget dimension
dimsrcsource dimension

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