mxnet
Classes | Namespaces | Functions
expr_engine-inl.h File Reference

definitions of how expressions should be evaluated More...

#include <utility>
#include <algorithm>
#include "./logging.h"
#include "./expression.h"
#include "./tensor.h"
#include "./dot_engine-inl.h"
Include dependency graph for expr_engine-inl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  mshadow::expr::MakeTensorExp< SubType, SrcExp, dim, DType >
 a general class that allows extension that makes tensors of some shape More...
 
class  mshadow::expr::Plan< ExpType, DType >
 
class  mshadow::expr::Plan< Tensor< Device, dim, DType >, DType >
 
class  mshadow::expr::Plan< Tensor< Device, 1, DType >, DType >
 
class  mshadow::expr::Plan< ScalarExp< DType >, DType >
 
class  mshadow::expr::Plan< TypecastExp< DstDType, SrcDType, EType, etype >, DstDType >
 
class  mshadow::expr::Plan< TernaryMapExp< OP, TA, TB, TC, DType, etype >, DType >
 
class  mshadow::expr::Plan< BinaryMapExp< OP, TA, TB, DType, etype >, DType >
 
class  mshadow::expr::Plan< UnaryMapExp< OP, TA, DType, etype >, DType >
 
struct  mshadow::expr::Plan< MakeTensorExp< SubType, SrcExp, dim, DType >, DType >
 
class  mshadow::expr::Plan< TransposeExp< EType, DType >, DType >
 
struct  mshadow::expr::ExpInfo< E >
 static type inference template, used to get the dimension of each expression, if ExpInfo<E>::kDim == -1, this means here are mismatch in expression if (ExpInfo<E>::kDevMask & cpu::kDevMask) != 0, this means this expression can be assigned to cpu More...
 
struct  mshadow::expr::ExpInfo< ScalarExp< DType > >
 
struct  mshadow::expr::ExpInfo< TransposeExp< E, DType > >
 
struct  mshadow::expr::ExpInfo< TypecastExp< DstDType, SrcDType, EType, etype > >
 
struct  mshadow::expr::ExpInfo< Tensor< Device, dim, DType > >
 
struct  mshadow::expr::ExpInfo< MakeTensorExp< T, SrcExp, dim, DType > >
 
struct  mshadow::expr::ExpInfo< UnaryMapExp< OP, TA, DType, etype > >
 
struct  mshadow::expr::ExpInfo< BinaryMapExp< OP, TA, TB, DType, etype > >
 
struct  mshadow::expr::ExpInfo< TernaryMapExp< OP, TA, TB, TC, DType, etype > >
 
struct  mshadow::expr::TypeCheck< Device, dim, DType, E >
 template to do type check More...
 
struct  mshadow::expr::TypeCheckPass< kPass >
 used to help static type check More...
 
struct  mshadow::expr::TypeCheckPass< false >
 
struct  mshadow::expr::TypeCheckPass< true >
 
struct  mshadow::expr::StreamInfo< Device, E >
 
struct  mshadow::expr::StreamInfo< Device, Tensor< Device, dim, DType > >
 
struct  mshadow::expr::ShapeCheck< dim, E >
 runtime shape checking template get the shape of an expression, report error if shape mismatch More...
 
struct  mshadow::expr::ShapeCheck< dim, ScalarExp< DType > >
 
struct  mshadow::expr::ShapeCheck< dim, TypecastExp< DstDType, SrcDType, EType, etype > >
 
struct  mshadow::expr::ShapeCheck< dim, TransposeExp< E, DType > >
 
struct  mshadow::expr::ShapeCheck< dim, Tensor< Device, dim, DType > >
 
struct  mshadow::expr::ShapeCheck< dim, MakeTensorExp< T, SrcExp, dim, DType > >
 
struct  mshadow::expr::ShapeCheck< dim, UnaryMapExp< OP, TA, DType, etype > >
 
struct  mshadow::expr::ShapeCheck< dim, BinaryMapExp< OP, TA, TB, DType, etype > >
 
struct  mshadow::expr::ShapeCheck< dim, TernaryMapExp< OP, TA, TB, TC, DType, etype > >
 
struct  mshadow::expr::ExpComplexEngine< SV, RV, E, DType >
 some engine that evaluate complex expression More...
 
struct  mshadow::expr::ExpEngine< SV, RV, DType >
 the engine that dispatches simple operations More...
 
struct  mshadow::expr::ExpComplexEngine< SV, Tensor< Device, dim, DType >, DotExp< Tensor< Device, ldim, DType >, Tensor< Device, rdim, DType >, ltrans, rtrans, DType >, DType >
 

Namespaces

 mshadow
 namespace for mshadow
 
 mshadow::expr
 namespace for abstract expressions and expressions template, have no dependency on tensor.h, These data structure takes no charge in computations, they are only used to define operations and represent expression in a symbolic way
 

Functions

template<typename OP , typename TA , typename TB , typename DType , int etype>
Plan< BinaryMapExp< OP, TA, TB, DType, etype >, DType > mshadow::expr::MakePlan (const BinaryMapExp< OP, TA, TB, DType, etype > &e)
 
template<typename OP , typename TA , typename TB , typename TC , typename DType , int etype>
Plan< TernaryMapExp< OP, TA, TB, TC, DType, etype >, DType > mshadow::expr::MakePlan (const TernaryMapExp< OP, TA, TB, TC, DType, etype > &e)
 
template<typename DType >
Plan< ScalarExp< DType >, DType > mshadow::expr::MakePlan (const ScalarExp< DType > &e)
 
template<typename DstDType , typename SrcDType , typename EType , int etype>
Plan< TypecastExp< DstDType, SrcDType, EType, etype >, DstDType > mshadow::expr::MakePlan (const TypecastExp< DstDType, SrcDType, EType, etype > &e)
 
template<typename T , typename DType >
Plan< T, DType > mshadow::expr::MakePlan (const RValueExp< T, DType > &e)
 
template<typename T , typename DType >
Plan< TransposeExp< T, DType >, DType > mshadow::expr::MakePlan (const TransposeExp< T, DType > &e)
 
template<typename T , typename SrcExp , int dim, typename DType >
Plan< T, DType > mshadow::expr::MakePlan (const MakeTensorExp< T, SrcExp, dim, DType > &e)
 
template<typename OP , typename TA , typename DType , int etype>
Plan< UnaryMapExp< OP, TA, DType, etype >, DType > mshadow::expr::MakePlan (const UnaryMapExp< OP, TA, DType, etype > &e)
 

Detailed Description

definitions of how expressions should be evaluated

Copyright (c) 2014 by Contributors

Author
Tianqi Chen, Bing Xu