mxnet
Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
mshadow::packet::Packet< DType, kPlain > Struct Template Reference

#include <plain-inl.h>

Collaboration diagram for mshadow::packet::Packet< DType, kPlain >:
Collaboration graph

Public Member Functions

 Packet (void)
 
 Packet (DType data)
 
MSHADOW_CINLINE Packet< DType, kPlain > & operator= (DType s)
 
MSHADOW_CINLINE void Store (DType *dst) const
 
MSHADOW_CINLINE DType Sum () const
 

Static Public Member Functions

static MSHADOW_CINLINE Packet< DType, kPlainFill (DType s)
 
static MSHADOW_CINLINE Packet< DType, kPlainLoad (const DType *src)
 
static MSHADOW_CINLINE Packet< DType, kPlainLoadUnAligned (const DType *src)
 

Public Attributes

DType data_
 The internal data. More...
 

Static Public Attributes

static constexpr index_t size = 1
 number of float in vector More...
 

Constructor & Destructor Documentation

template<typename DType >
mshadow::packet::Packet< DType, kPlain >::Packet ( void  )
inline
template<typename DType >
mshadow::packet::Packet< DType, kPlain >::Packet ( DType  data)
inlineexplicit

Member Function Documentation

template<typename DType >
static MSHADOW_CINLINE Packet<DType, kPlain> mshadow::packet::Packet< DType, kPlain >::Fill ( DType  s)
inlinestatic
template<typename DType >
static MSHADOW_CINLINE Packet<DType, kPlain> mshadow::packet::Packet< DType, kPlain >::Load ( const DType *  src)
inlinestatic
template<typename DType >
static MSHADOW_CINLINE Packet<DType, kPlain> mshadow::packet::Packet< DType, kPlain >::LoadUnAligned ( const DType *  src)
inlinestatic
template<typename DType >
MSHADOW_CINLINE Packet<DType, kPlain>& mshadow::packet::Packet< DType, kPlain >::operator= ( DType  s)
inline
template<typename DType >
MSHADOW_CINLINE void mshadow::packet::Packet< DType, kPlain >::Store ( DType *  dst) const
inline
template<typename DType >
MSHADOW_CINLINE DType mshadow::packet::Packet< DType, kPlain >::Sum ( ) const
inline

Member Data Documentation

template<typename DType >
DType mshadow::packet::Packet< DType, kPlain >::data_

The internal data.

template<typename DType >
constexpr index_t mshadow::packet::Packet< DType, kPlain >::size = 1
static

number of float in vector


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