mxnet
Public Types | Public Member Functions | List of all members
mxnet::common::random::RandGenerator< cpu, DType >::Impl Class Reference

#include <random_generator.h>

Collaboration diagram for mxnet::common::random::RandGenerator< cpu, DType >::Impl:
Collaboration graph

Public Types

typedef std::conditional< std::is_floating_point< DType >::value, DType, double >::type FType
 

Public Member Functions

 Impl (RandGenerator< cpu, DType > *gen, int state_idx)
 
 Impl (const Impl &)=delete
 
Imploperator= (const Impl &)=delete
 
MSHADOW_XINLINE int rand ()
 
MSHADOW_XINLINE FType uniform ()
 
MSHADOW_XINLINE FType normal ()
 

Member Typedef Documentation

template<typename DType >
typedef std::conditional<std::is_floating_point<DType>::value, DType, double>::type mxnet::common::random::RandGenerator< cpu, DType >::Impl::FType

Constructor & Destructor Documentation

template<typename DType >
mxnet::common::random::RandGenerator< cpu, DType >::Impl::Impl ( RandGenerator< cpu, DType > *  gen,
int  state_idx 
)
inlineexplicit
template<typename DType >
mxnet::common::random::RandGenerator< cpu, DType >::Impl::Impl ( const Impl &  )
delete

Member Function Documentation

template<typename DType >
MSHADOW_XINLINE FType mxnet::common::random::RandGenerator< cpu, DType >::Impl::normal ( )
inline
template<typename DType >
Impl& mxnet::common::random::RandGenerator< cpu, DType >::Impl::operator= ( const Impl )
delete
template<typename DType >
MSHADOW_XINLINE int mxnet::common::random::RandGenerator< cpu, DType >::Impl::rand ( )
inline
template<typename DType >
MSHADOW_XINLINE FType mxnet::common::random::RandGenerator< cpu, DType >::Impl::uniform ( )
inline

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