mxnet
Public Member Functions | List of all members
mshadow::expr::Exp< SubType, DType, exp_type > Struct Template Reference

defines how expression exp can be evaluated and stored into dst More...

#include <expression.h>

Collaboration diagram for mshadow::expr::Exp< SubType, DType, exp_type >:
Collaboration graph

Public Member Functions

const SubType & self (void) const
 
SubType * ptrself (void)
 

Detailed Description

template<typename SubType, typename DType, int exp_type>
struct mshadow::expr::Exp< SubType, DType, exp_type >

defines how expression exp can be evaluated and stored into dst

base class for expression

Template Parameters
SubTypeinheritated class must put their type into this parameter
DTypethe data type of each element in the expression
exp_typeexpression type, see namespace type

Member Function Documentation

template<typename SubType, typename DType, int exp_type>
SubType* mshadow::expr::Exp< SubType, DType, exp_type >::ptrself ( void  )
inline
Returns
reference of subtype instance of current class
template<typename SubType, typename DType, int exp_type>
const SubType& mshadow::expr::Exp< SubType, DType, exp_type >::self ( void  ) const
inline
Returns
subtype instance of current class

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