Vowpal Wabbit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
VW::cached_learner Class Reference

#include <cached_learner.h>

Inheritance diagram for VW::cached_learner:
VW::setup_base_i

Public Member Functions

std::shared_ptr< VW::LEARNER::learnersetup_base_learner (size_t) override
 
 operator bool () const
 
void delayed_state_attach (VW::workspace &all, VW::config::options_i &options) override
 
 cached_learner ()
 
 cached_learner (std::shared_ptr< VW::LEARNER::learner > learner)
 
 cached_learner (VW::workspace &all, VW::config::options_i &options, std::shared_ptr< VW::LEARNER::learner > learner)
 
VW::config::options_iget_options () override
 
VW::workspaceget_all_pointer () override
 
std::string get_setupfn_name (reduction_setup_fn) override
 
size_t get_feature_width_above () override
 
- Public Member Functions inherited from VW::setup_base_i
virtual void delayed_state_attach (VW::workspace &, VW::config::options_i &)=0
 
virtual std::shared_ptr< VW::LEARNER::learnersetup_base_learner (size_t increment=1)=0
 
virtual VW::config::options_iget_options ()=0
 
virtual VW::workspaceget_all_pointer ()=0
 
virtual std::string get_setupfn_name (reduction_setup_fn setup)=0
 
virtual size_t get_feature_width_above ()=0
 
virtual ~setup_base_i ()=default
 

Constructor & Destructor Documentation

◆ cached_learner() [1/3]

VW::cached_learner::cached_learner ( )
inline

◆ cached_learner() [2/3]

VW::cached_learner::cached_learner ( std::shared_ptr< VW::LEARNER::learner learner)
inline

◆ cached_learner() [3/3]

VW::cached_learner::cached_learner ( VW::workspace all,
VW::config::options_i options,
std::shared_ptr< VW::LEARNER::learner learner 
)
inline

Member Function Documentation

◆ delayed_state_attach()

void VW::cached_learner::delayed_state_attach ( VW::workspace all,
VW::config::options_i options 
)
inlineoverridevirtual

Implements VW::setup_base_i.

◆ get_all_pointer()

VW::workspace * VW::cached_learner::get_all_pointer ( )
inlineoverridevirtual

Implements VW::setup_base_i.

◆ get_feature_width_above()

size_t VW::cached_learner::get_feature_width_above ( )
inlineoverridevirtual

Implements VW::setup_base_i.

◆ get_options()

VW::config::options_i * VW::cached_learner::get_options ( )
inlineoverridevirtual

Implements VW::setup_base_i.

◆ get_setupfn_name()

std::string VW::cached_learner::get_setupfn_name ( reduction_setup_fn  )
inlineoverridevirtual

Implements VW::setup_base_i.

◆ operator bool()

VW::cached_learner::operator bool ( ) const
inline

◆ setup_base_learner()

std::shared_ptr< VW::LEARNER::learner > VW::cached_learner::setup_base_learner ( size_t  )
inlineoverridevirtual

Implements VW::setup_base_i.


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