mxnet
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > Struct Template Reference

concat expression, concat two tensor's channel More...

#include <concat.h>

Inheritance diagram for mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >:
Inheritance graph
Collaboration diagram for mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >:
Collaboration graph

Public Member Functions

 ConcatExp (const LhsExp &src1, const RhsExp &src2)
 
template<typename E , int etype>
void operator= (const expr::Exp< E, DType, etype > &exp)
 
void operator= (const DType &exp)
 
- Public Member Functions inherited from mshadow::expr::RValueExp< ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >, DType >
const TransposeExp< ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >, DType > T (void) const
 transpose of a matrix More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & operator+= (DType s)
 operator overload More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & operator+= (const Exp< E, DType, etype > &exp)
 implementation of operator+= More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & operator-= (DType s)
 operator overload More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & operator-= (const Exp< E, DType, etype > &exp)
 implementation of operator-= More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & operator*= (DType s)
 operator overload More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & operator*= (const Exp< E, DType, etype > &exp)
 implementation of operator*= More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & operator/= (DType s)
 operator overload More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & operator/= (const Exp< E, DType, etype > &exp)
 implementation of operator/= More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & __assign (DType s)
 operator overload More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & __assign (const Exp< E, DType, etype > &exp)
 we can not define container = container More...
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & __assign (const Exp< ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >, DType, type::kRValue > &exp)
 operator overload, assign More...
 
- Public Member Functions inherited from mshadow::expr::Exp< ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >, DType, type::kRValue >
const ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > & self (void) const
 
ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat > * ptrself (void)
 

Public Attributes

const LhsExp & src1_
 
const RhsExp & src2_
 
index_t dcat_src1_
 
index_t dcat_src2_
 
Shape< 4 > shape_
 

Static Public Attributes

static const int dimcat = srcdim - dimsrc_m_cat
 

Detailed Description

template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
struct mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >

concat expression, concat two tensor's channel

Template Parameters
LhsExpleft expression
RhsExpright expression
DTypethe type of elements
srcdimdimension of src
dimsrc_m_catdimsrc - dimcat

Constructor & Destructor Documentation

template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >::ConcatExp ( const LhsExp &  src1,
const RhsExp &  src2 
)
inline

Member Function Documentation

template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
template<typename E , int etype>
void mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >::operator= ( const expr::Exp< E, DType, etype > &  exp)
inline
template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
void mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >::operator= ( const DType &  exp)
inline

Member Data Documentation

template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
index_t mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >::dcat_src1_
template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
index_t mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >::dcat_src2_
template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
const int mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >::dimcat = srcdim - dimsrc_m_cat
static
template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
Shape<4> mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >::shape_
template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
const LhsExp& mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >::src1_
template<typename LhsExp, typename RhsExp, typename Device, typename DType, int srcdim, int dimsrc_m_cat>
const RhsExp& mshadow::expr::ConcatExp< LhsExp, RhsExp, Device, DType, srcdim, dimsrc_m_cat >::src2_

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