mxnet
Public Member Functions | Public Attributes | List of all members
mshadow::expr::TypecastExp< DstDType, SrcDType, EType, etype > Struct Template Reference

typecast expression, cast the type of elements More...

#include <expression.h>

Inheritance diagram for mshadow::expr::TypecastExp< DstDType, SrcDType, EType, etype >:
Inheritance graph
Collaboration diagram for mshadow::expr::TypecastExp< DstDType, SrcDType, EType, etype >:
Collaboration graph

Public Member Functions

 TypecastExp (const EType &e)
 constructor More...
 
- Public Member Functions inherited from mshadow::expr::Exp< TypecastExp< DstDType, SrcDType, EType, etype >, DstDType, etype >
const TypecastExp< DstDType, SrcDType, EType, etype > & self (void) const
 
TypecastExp< DstDType, SrcDType, EType, etype > * ptrself (void)
 

Public Attributes

const EType & exp
 expression to be typecasted More...
 

Detailed Description

template<typename DstDType, typename SrcDType, typename EType, int etype>
struct mshadow::expr::TypecastExp< DstDType, SrcDType, EType, etype >

typecast expression, cast the type of elements

Template Parameters
DstDTypethe target type we want to cast into
SrcDTypethe target type we want to cast from
ETypethe type of the source expression
etypethe type of expression after cast

Constructor & Destructor Documentation

template<typename DstDType, typename SrcDType, typename EType, int etype>
mshadow::expr::TypecastExp< DstDType, SrcDType, EType, etype >::TypecastExp ( const EType &  e)
inlineexplicit

constructor

Member Data Documentation

template<typename DstDType, typename SrcDType, typename EType, int etype>
const EType& mshadow::expr::TypecastExp< DstDType, SrcDType, EType, etype >::exp

expression to be typecasted


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