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::ReduceTo1DExp< EType, Reducer, dimkeep > Struct Template Reference

reduction to 1 dimension tensor input: Tensor<Device,k>: ishape output: Tensor<Device,1> shape[0] = ishape[dimkeep]; More...

#include <tensor_expr_ext.h>

Inheritance diagram for mshadow::expr::ReduceTo1DExp< EType, Reducer, dimkeep >:
mshadow::expr::Exp< ReduceTo1DExp< EType, Reducer, dimkeep >, type::kComplex >

Public Member Functions

 ReduceTo1DExp (const EType &src, real_t scale)
 construct a repmat expression from src and nrow
 
- Public Member Functions inherited from mshadow::expr::Exp< ReduceTo1DExp< EType, Reducer, dimkeep >, type::kComplex >
const ReduceTo1DExp< EType,
Reducer, dimkeep > & 
self (void) const
 
ReduceTo1DExp< EType, Reducer,
dimkeep > & 
refself (void)
 

Public Attributes

const EType & src_
 source operand
 
real_t scale_
 source operand, scale of the
 

Detailed Description

template<typename EType, typename Reducer, int dimkeep>
struct mshadow::expr::ReduceTo1DExp< EType, Reducer, dimkeep >

reduction to 1 dimension tensor input: Tensor<Device,k>: ishape output: Tensor<Device,1> shape[0] = ishape[dimkeep];

Template Parameters
ETypetype of expression to be reduced
Reducerwhich reducer to use
srcdimdimension of source
dimkeepwhich dimension to be kept,

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