mxnet
Public Member Functions | Public Attributes | List of all members
mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst > Struct Template Reference

reduce out the dimension of src labeled by axis. More...

#include <reduce_with_axis.h>

Inheritance diagram for mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >:
Inheritance graph
Collaboration diagram for mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >:
Collaboration graph

Public Member Functions

 ReduceWithAxisExp (const SrcExp &src, int axis)
 
- Public Member Functions inherited from mshadow::expr::MakeTensorExp< ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >, SrcExp, dimdst, DType >
const ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst > & real_self (void) const
 true self of subtype More...
 
- Public Member Functions inherited from mshadow::expr::Exp< MakeTensorExp< ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >, SrcExp, dim, DType >, DType, type::kChainer >
const MakeTensorExp< ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >, SrcExp, dim, DType > & self (void) const
 
MakeTensorExp< ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >, SrcExp, dim, DType > * ptrself (void)
 

Public Attributes

const SrcExp & src_
 source oprand More...
 
index_t last_dst_dim_
 size of last destination dimension More...
 
index_t trailing_
 size of trailing dimensions More...
 
index_t size_
 size of axis dimension More...
 
index_t last_
 size of last src dimension More...
 
- Public Attributes inherited from mshadow::expr::MakeTensorExp< ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >, SrcExp, dimdst, DType >
Shape< dim > shape_
 the shape of this expression More...
 

Detailed Description

template<typename Reducer, typename SrcExp, typename DType, int dimsrc, bool mask, int dimdst>
struct mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >

reduce out the dimension of src labeled by axis.

Template Parameters
Reducertype of reducer
SrcExptype of source expression
DTypedata type

Constructor & Destructor Documentation

template<typename Reducer, typename SrcExp, typename DType, int dimsrc, bool mask, int dimdst>
mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >::ReduceWithAxisExp ( const SrcExp &  src,
int  axis 
)
inlineexplicit

constructor

Member Data Documentation

template<typename Reducer, typename SrcExp, typename DType, int dimsrc, bool mask, int dimdst>
index_t mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >::last_

size of last src dimension

template<typename Reducer, typename SrcExp, typename DType, int dimsrc, bool mask, int dimdst>
index_t mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >::last_dst_dim_

size of last destination dimension

template<typename Reducer, typename SrcExp, typename DType, int dimsrc, bool mask, int dimdst>
index_t mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >::size_

size of axis dimension

template<typename Reducer, typename SrcExp, typename DType, int dimsrc, bool mask, int dimdst>
const SrcExp& mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >::src_

source oprand

template<typename Reducer, typename SrcExp, typename DType, int dimsrc, bool mask, int dimdst>
index_t mshadow::expr::ReduceWithAxisExp< Reducer, SrcExp, DType, dimsrc, mask, dimdst >::trailing_

size of trailing dimensions


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