![]() |
Apache SINGA
A distributed deep learning platform .
|
Public Member Functions | |
MSHADOW_XINLINE | Tensor (const Shape< 1 > &shape) |
MSHADOW_XINLINE | Tensor (real_t *dptr, Shape< 1 > shape) |
MSHADOW_XINLINE Tensor< Device, 2 > | FlatTo2D (void) const |
MSHADOW_XINLINE Tensor< Device, 1 > | Slice (index_t begin, index_t end) const |
MSHADOW_XINLINE real_t & | operator[] (index_t idx) |
MSHADOW_XINLINE const real_t & | operator[] (index_t idx) const |
Tensor< Device, 1 > & | operator= (double s) |
template<typename E > | |
Tensor< Device, 1 > & | operator= (const expr::Exp< E, expr::type::kMapper > &exp) |
template<typename E > | |
Tensor< Device, 1 > & | operator= (const expr::Exp< E, expr::type::kComplex > &exp) |
![]() | |
const TransposeExp< Tensor < Device, 1 > > | T (void) const |
transpose of a matrix More... | |
Tensor< Device, 1 > & | operator+= (real_t s) |
operator overload | |
Tensor< Device, 1 > & | operator+= (const Exp< E, etype > &exp) |
implementation of operator+= | |
Tensor< Device, 1 > & | operator-= (real_t s) |
operator overload | |
Tensor< Device, 1 > & | operator-= (const Exp< E, etype > &exp) |
implementation of operator-= | |
Tensor< Device, 1 > & | operator*= (real_t s) |
operator overload | |
Tensor< Device, 1 > & | operator*= (const Exp< E, etype > &exp) |
implementation of operator*= | |
Tensor< Device, 1 > & | operator/= (real_t s) |
operator overload | |
Tensor< Device, 1 > & | operator/= (const Exp< E, etype > &exp) |
implementation of operator/= | |
Tensor< Device, 1 > & | __assign (real_t s) |
operator overload | |
Tensor< Device, 1 > & | __assign (const Exp< E, type::kMapper > &exp) |
implementation of operator=, note that we can not define container = container | |
Tensor< Device, 1 > & | __assign (const Exp< E, type::kComplex > &exp) |
implementation of operator=, note that we can not define container = container | |
![]() | |
const Tensor< Device, 1 > & | self (void) const |
Tensor< Device, 1 > & | refself (void) |
Public Attributes | |
real_t * | dptr |
Shape< 1 > | shape |