Vowpal Wabbit
Public Member Functions | Public Attributes | List of all members
parameters Class Reference

#include <array_parameters.h>

Public Member Functions

weightoperator[] (size_t i)
 
template<typename Lambda >
void set_default (Lambda &&default_func)
 
uint32_t stride_shift () const
 
uint32_t stride () const
 
uint64_t mask () const
 
uint64_t seeded () const
 
void shallow_copy (const parameters &input)
 
void set_zero (size_t offset)
 
void share (size_t length)
 
void stride_shift (uint32_t stride_shift)
 
weightstrided_index (size_t index)
 
bool not_null ()
 

Public Attributes

bool adaptive
 
bool normalized
 
bool sparse
 
dense_parameters dense_weights
 
sparse_parameters sparse_weights
 

Member Function Documentation

uint64_t parameters::mask ( ) const
inline
bool parameters::not_null ( )
inline
weight& parameters::operator[] ( size_t  i)
inline
uint64_t parameters::seeded ( ) const
inline
template<typename Lambda >
void parameters::set_default ( Lambda &&  default_func)
inline
void parameters::set_zero ( size_t  offset)
inline
void parameters::shallow_copy ( const parameters input)
inline
void parameters::share ( size_t  length)
inline
uint32_t parameters::stride ( ) const
inline
uint32_t parameters::stride_shift ( ) const
inline
void parameters::stride_shift ( uint32_t  stride_shift)
inline
weight& parameters::strided_index ( size_t  index)
inline

Member Data Documentation

bool parameters::adaptive
dense_parameters parameters::dense_weights
bool parameters::normalized
bool parameters::sparse
sparse_parameters parameters::sparse_weights

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