LBANN  0.103.0
LivermoreBigArtificialNeuralNetworkToolkit
lbann::rng< DistType, DType > Class Template Reference

#include <random.hpp>

Public Member Functions

DistType::result_type gen ()
 
 rng ()
 
 rng (DType p)
 
 rng (DType a, DType b)
 

Private Attributes

DistType m_dist
 

Detailed Description

template<typename DistType, typename DType = DataType>
class lbann::rng< DistType, DType >

Definition at line 223 of file random.hpp.

Constructor & Destructor Documentation

◆ rng() [1/3]

template<typename DistType, typename DType = DataType>
lbann::rng< DistType, DType >::rng ( )
inline

Definition at line 231 of file random.hpp.

◆ rng() [2/3]

template<typename DistType, typename DType = DataType>
lbann::rng< DistType, DType >::rng ( DType  p)
inline

Definition at line 233 of file random.hpp.

◆ rng() [3/3]

template<typename DistType, typename DType = DataType>
lbann::rng< DistType, DType >::rng ( DType  a,
DType  b 
)
inline

Definition at line 235 of file random.hpp.

Member Function Documentation

◆ gen()

template<typename DistType, typename DType = DataType>
DistType::result_type lbann::rng< DistType, DType >::gen ( )
inline

Definition at line 230 of file random.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ m_dist

template<typename DistType, typename DType = DataType>
DistType lbann::rng< DistType, DType >::m_dist
private

Definition at line 227 of file random.hpp.


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