mxnet
Public Member Functions | Public Attributes | List of all members
mshadow::expr::ReshapeExp< SrcExp, DType, 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 <reshape.h>

Inheritance diagram for mshadow::expr::ReshapeExp< SrcExp, DType, dimdst, dimsrc >:
Inheritance graph
Collaboration diagram for mshadow::expr::ReshapeExp< SrcExp, DType, dimdst, dimsrc >:
Collaboration graph

Public Member Functions

 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)
 

Public Attributes

const SrcExp & src_
 source expression More...
 
index_t ishapex_
 smallest dimension of input More...
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< ReshapeExp< SrcExp, DType, dimdst, dimsrc >, SrcExp, dimdst, DType >
Shape< dim > shape_
 the shape of this expression More...
 

Detailed Description

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
SrcExpsource expression
dimdsttarget dimension
dimsrcsource dimension

Constructor & Destructor Documentation

template<typename SrcExp, typename DType, int dimdst, int dimsrc>
mshadow::expr::ReshapeExp< SrcExp, DType, dimdst, dimsrc >::ReshapeExp ( const SrcExp &  src,
Shape< dimdst >  shape 
)
inline

constructor

Member Data Documentation

template<typename SrcExp, typename DType, int dimdst, int dimsrc>
index_t mshadow::expr::ReshapeExp< SrcExp, DType, dimdst, dimsrc >::ishapex_

smallest dimension of input

template<typename SrcExp, typename DType, int dimdst, int dimsrc>
const SrcExp& mshadow::expr::ReshapeExp< SrcExp, DType, dimdst, dimsrc >::src_

source expression


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