Vowpal Wabbit
Static Public Member Functions | List of all members
random_weights_wrapper< T > Class Template Reference

Static Public Member Functions

static void func (weight &w, uint64_t index)
 

Detailed Description

template<class T>
class random_weights_wrapper< T >

Definition at line 45 of file parse_regressor.cc.

Member Function Documentation

◆ func()

template<class T >
static void random_weights_wrapper< T >::func ( weight w,
uint64_t  index 
)
inlinestatic

Definition at line 48 of file parse_regressor.cc.

References merand48().

48 { w = (float)(merand48(index) - 0.5); }
float merand48(uint64_t &initial)
Definition: rand48.cc:16

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