mxnet
Public Member Functions | Public Attributes | List of all members
mshadow::expr::DotExp< TA, TB, ltrans, rtrans, DType > Struct Template Reference

matrix multiplication expression dot(lhs[.T], rhs[.T]) More...

#include <expression.h>

Inheritance diagram for mshadow::expr::DotExp< TA, TB, ltrans, rtrans, DType >:
Inheritance graph
Collaboration diagram for mshadow::expr::DotExp< TA, TB, ltrans, rtrans, DType >:
Collaboration graph

Public Member Functions

 DotExp (const TA &lhs, const TB &rhs, DType scale)
 constructor More...
 
- Public Member Functions inherited from mshadow::expr::Exp< DotExp< TA, TB, ltrans, rtrans, DType >, DType, type::kComplex >
const DotExp< TA, TB, ltrans, rtrans, DType > & self (void) const
 
DotExp< TA, TB, ltrans, rtrans, DType > * ptrself (void)
 

Public Attributes

const TA & lhs_
 left operand More...
 
const TB & rhs_
 right operand More...
 
DType scale_
 scale over result More...
 

Detailed Description

template<typename TA, typename TB, bool ltrans, bool rtrans, typename DType>
struct mshadow::expr::DotExp< TA, TB, ltrans, rtrans, DType >

matrix multiplication expression dot(lhs[.T], rhs[.T])

Template Parameters
TAtype of lhs
TBtype of rhs
ltranswhether lhs is transposed
rtranswhether rhs is transposed
DTypethe data type of the scalar

Constructor & Destructor Documentation

template<typename TA, typename TB, bool ltrans, bool rtrans, typename DType>
mshadow::expr::DotExp< TA, TB, ltrans, rtrans, DType >::DotExp ( const TA &  lhs,
const TB &  rhs,
DType  scale 
)
inlineexplicit

constructor

Member Data Documentation

template<typename TA, typename TB, bool ltrans, bool rtrans, typename DType>
const TA& mshadow::expr::DotExp< TA, TB, ltrans, rtrans, DType >::lhs_

left operand

template<typename TA, typename TB, bool ltrans, bool rtrans, typename DType>
const TB& mshadow::expr::DotExp< TA, TB, ltrans, rtrans, DType >::rhs_

right operand

template<typename TA, typename TB, bool ltrans, bool rtrans, typename DType>
DType mshadow::expr::DotExp< TA, TB, ltrans, rtrans, DType >::scale_

scale over result


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