Vowpal Wabbit
|
Typedefs | |
using | weight_map = std::unordered_map< uint64_t, std::shared_ptr< VW::weight > > |
using | ScoredDual = std::pair< double, VW::details::Duals > |
using | feature_dict = std::unordered_map< std::string, std::unique_ptr< VW::features > > |
using | features_range_t = std::pair< features::const_audit_iterator, features::const_audit_iterator > |
using | label_feature_map = std::unordered_map< size_t, features > |
Functions | |
template<class T , void(*)(T &, const T &) f> | |
void | addbufs (T *buf1, const T *buf2, const size_t n) |
constexpr uint32_t | rotl32 (uint32_t x, int8_t r) noexcept |
VW_STD14_CONSTEXPR uint32_t | fmix (uint32_t h) noexcept |
VW_STD14_CONSTEXPR uint32_t | get_block (const char *p, size_t i) |
VW_STD14_CONSTEXPR uint32_t | murmurhash_x86_32 (const char *data, size_t len, uint32_t seed) |
float | merand48 (uint64_t &initial) |
float | merand48_noadvance (uint64_t v) |
float | merand48_boxmuller (uint64_t &index) |
void | accumulate (VW::workspace &all, parameters &weights, size_t o) |
float | accumulate_scalar (VW::workspace &all, float local_sum) |
void | accumulate_weighted_avg (VW::workspace &all, parameters &weights) |
void | accumulate_avg (VW::workspace &all, parameters &weights, size_t o) |
template<class T > | |
void | do_weighting (size_t normalized_idx, uint64_t length, const float *local_weights, T &weights) |
void | print_action_score (VW::io::writer *f, const VW::v_array< action_score > &a_s, const VW::v_array< char > &, VW::io::logger &logger) |
void | print_update_cb (VW::workspace &all, bool is_test, const VW::example &ec, const VW::multi_ex *ec_seq, bool action_scores, const VW::cb_class *known_cost) |
template<typename T > | |
T | correctedExp (T exponent) |
void | output_cs_example (VW::workspace &all, const VW::example &ec) |
void | output_cs_example (VW::workspace &all, const VW::example &ec, const cs_label &cs_label, uint32_t multiclass_prediction) |
void | finish_cs_example (VW::workspace &all, VW::example &ec) |
template<class T > | |
void | finish_cs_example (VW::workspace &all, T &, VW::example &ec) |
void | print_cs_update (VW::workspace &all, bool is_test, const VW::example &ec, const VW::multi_ex *ec_seq, bool multilabel, uint32_t prediction) |
void | print_cs_update_multiclass (VW::workspace &all, bool is_test, size_t num_features, uint32_t prediction) |
void | print_cs_update_action_scores (VW::workspace &all, bool is_test, size_t num_features, const VW::action_scores &action_scores) |
void | update_stats_cs_label (const VW::workspace &all, shared_data &sd, const VW::example &ec, VW::io::logger &logger) |
void | output_example_prediction_cs_label (VW::workspace &all, const VW::example &ec, VW::io::logger &logger) |
void | print_update_cs_label (VW::workspace &all, shared_data &sd, const VW::example &ec, VW::io::logger &logger) |
template<typename UnusedDataT > | |
void | update_stats_cs_label (const VW::workspace &all, shared_data &sd, const UnusedDataT &, const VW::example &ec, VW::io::logger &logger) |
template<typename UnusedDataT > | |
void | output_example_prediction_cs_label (VW::workspace &all, const UnusedDataT &, const VW::example &ec, VW::io::logger &logger) |
template<typename UnusedDataT > | |
void | print_update_cs_label (VW::workspace &all, shared_data &sd, const UnusedDataT &, const VW::example &ec, VW::io::logger &logger) |
void | binary_print_result_by_ref (VW::io::writer *f, float res, float weight, const VW::v_array< char > &tag, VW::io::logger &logger) |
void | get_prediction (VW::io::reader *f, float &res, float &weight) |
void | add_passthrough_feature_magic (example &ec, uint64_t magic, uint64_t i, float x) |
void | clean_example (VW::workspace &all, example &ec) |
void | append_example_namespace (VW::example &ec, VW::namespace_index ns, const features &fs) |
void | truncate_example_namespace (VW::example &ec, VW::namespace_index ns, const features &fs) |
void | append_example_namespaces_from_example (VW::example &target, const VW::example &source) |
void | truncate_example_namespaces_from_example (VW::example &target, const VW::example &source) |
constexpr float | constexpr_int_pow10 (uint8_t exponent) |
constexpr float | constexpr_negative_int_pow10 (uint8_t exponent) |
constexpr float | constexpr_negative_int_pow10_with_offset (uint8_t exponent, uint8_t offset) |
template<std::size_t ArrayLength, std::size_t... IntegerSequence> | |
constexpr std::array< float, ArrayLength > | gen_negative_pow10s (index_sequence< IntegerSequence... >) |
template<std::size_t ArrayLength, std::size_t... IntegerSequence> | |
constexpr std::array< float, ArrayLength > | gen_positive_pow10s (index_sequence< IntegerSequence... >) |
std::vector< std::pair< bool, uint64_t > > | flatten_namespace_extents (const std::vector< namespace_extent > &extents, size_t overall_feature_space_size) |
std::vector< namespace_extent > | unflatten_namespace_extents (const std::vector< std::pair< bool, uint64_t > > &extents) |
template<class DataT > | |
void | dummy_func (DataT &, const VW::audit_strings *) |
void | vec_add (float &p, float fx, float fw) |
float | safe_probability (float prob, VW::io::logger &logger) |
void | gen_cs_example_ips (cb_to_cs &c, const VW::cb_label &ld, VW::cs_label &cs_ld, VW::io::logger &logger, float clip_p=0.f) |
template<bool is_learn> | |
void | gen_cs_example_dm (cb_to_cs &c, VW::example &ec, const VW::cb_label &ld, VW::cs_label &cs_ld) |
template<bool is_learn> | |
void | gen_cs_label (cb_to_cs &c, VW::example &ec, VW::cs_label &cs_ld, uint32_t action, float clip_p=0.f) |
template<bool is_learn> | |
void | gen_cs_example_dr (cb_to_cs &c, VW::example &ec, const VW::cb_label &ld, VW::cs_label &cs_ld, float=0.f) |
template<bool is_learn> | |
void | gen_cs_example (cb_to_cs &c, VW::example &ec, const VW::cb_label &ld, VW::cs_label &cs_ld, VW::io::logger &logger) |
void | gen_cs_test_example (const VW::multi_ex &examples, VW::cs_label &cs_labels) |
void | gen_cs_example_ips (const VW::multi_ex &examples, VW::cs_label &cs_labels, VW::io::logger &logger, float clip_p=0.f) |
void | gen_cs_example_dm (const VW::multi_ex &examples, VW::cs_label &cs_labels) |
void | gen_cs_example_mtr (cb_to_cs_adf_mtr &c, VW::multi_ex &ec_seq, VW::cs_label &cs_labels, uint64_t offset_index) |
void | gen_cs_example_sm (VW::multi_ex &examples, uint32_t chosen_action, float sign_offset, const VW::action_scores &action_vals, VW::cs_label &cs_labels) |
template<bool is_learn> | |
void | gen_cs_example_dr (cb_to_cs_adf_dr &c, VW::multi_ex &examples, VW::cs_label &cs_labels, float clip_p=0.f) |
void | cs_prep_labels (VW::multi_ex &examples, std::vector< VW::cb_label > &cb_labels, VW::cs_label &cs_labels, std::vector< VW::cs_label > &prepped_cs_labels, uint64_t offset) |
template<bool is_learn> | |
void | cs_ldf_learn_or_predict (VW::LEARNER::learner &base, VW::multi_ex &examples, std::vector< VW::cb_label > &cb_labels, VW::cs_label &cs_labels, std::vector< VW::cs_label > &prepped_cs_labels, bool predict_first, uint64_t offset, size_t id=0) |
void | print_result_by_ref (VW::io::writer *f, float res, float weight, const VW::v_array< char > &tag, VW::io::logger &logger) |
void | compile_limits (std::vector< std::string > limits, std::array< uint32_t, VW::NUM_NAMESPACES > &dest, bool quiet, VW::io::logger &logger) |
VW_STD14_CONSTEXPR uint32_t | hashall (const char *s, size_t len, uint32_t h) |
VW_STD14_CONSTEXPR uint32_t | hashstring (const char *s, size_t len, uint32_t h) |
template<typename T > | |
std::vector< T > | indices_to_values_one_based (const std::vector< size_t > &indices, const std::set< T > &values) |
template<typename T > | |
std::vector< T > | indices_to_values_ignore_last_index (const std::vector< size_t > &indices, const std::set< T > &values) |
template<typename T > | |
bool | must_be_left_sorted (const std::vector< T > &oi) |
template<typename T > | |
void | sort_and_filter_duplicate_interactions (std::vector< std::vector< T > > &vec, bool filter_duplicates, size_t &removed_cnt, size_t &sorted_cnt) |
template<typename T > | |
std::vector< std::vector< T > > | generate_namespace_combinations_with_repetition (const std::set< T > &namespaces, size_t num_to_pick) |
template<typename T > | |
std::vector< std::vector< T > > | generate_namespace_permutations_with_repetition (const std::set< T > &namespaces, size_t num_to_pick) |
std::vector< std::vector< VW::namespace_index > > | expand_quadratics_wildcard_interactions (bool leave_duplicate_interactions, const std::set< VW::namespace_index > &new_example_indices) |
bool | sort_interactions_comparator (const std::vector< VW::namespace_index > &a, const std::vector< VW::namespace_index > &b) |
template<generate_func_t< VW::namespace_index > generate_func, bool leave_duplicate_interactions> | |
std::vector< std::vector< VW::namespace_index > > | compile_interaction (const std::vector< VW::namespace_index > &interaction, const std::set< VW::namespace_index > &indices) |
template<generate_func_t< VW::extent_term > generate_func, bool leave_duplicate_interactions> | |
std::vector< std::vector< VW::extent_term > > | compile_extent_interaction (const std::vector< VW::extent_term > &interaction, const std::set< VW::extent_term > &_all_seen_extents) |
template<generate_func_t< VW::namespace_index > generate_func, bool leave_duplicate_interactions> | |
std::vector< std::vector< VW::namespace_index > > | compile_interactions (const std::vector< std::vector< VW::namespace_index > > &interactions, const std::set< VW::namespace_index > &indices) |
template<generate_func_t< VW::extent_term > generate_func, bool leave_duplicate_interactions> | |
std::vector< std::vector< VW::extent_term > > | compile_extent_interactions (const std::vector< std::vector< VW::extent_term > > &interactions, const std::set< VW::extent_term > &indices) |
template<class DataT , void(*)(DataT &, const float, float &) FuncT, class WeightsT > | |
void | call_func_t (DataT &dat, WeightsT &weights, const float ft_value, const uint64_t ft_idx) |
template<class DataT , void(*)(DataT &, const float, float) FuncT, class WeightsT > | |
void | call_func_t (DataT &dat, const WeightsT &weights, const float ft_value, const uint64_t ft_idx) |
bool | term_is_empty (VW::namespace_index term, const std::array< VW::features, VW::NUM_NAMESPACES > &feature_groups) |
bool | has_empty_interaction_quadratic (const std::array< VW::features, VW::NUM_NAMESPACES > &feature_groups, const std::vector< VW::namespace_index > &namespace_indexes) |
bool | has_empty_interaction_cubic (const std::array< VW::features, VW::NUM_NAMESPACES > &feature_groups, const std::vector< VW::namespace_index > &namespace_indexes) |
bool | has_empty_interaction (const std::array< VW::features, VW::NUM_NAMESPACES > &feature_groups, const std::vector< VW::namespace_index > &namespace_indexes) |
bool | has_empty_interaction (const std::array< VW::features, VW::NUM_NAMESPACES > &feature_groups, const std::vector< VW::extent_term > &namespace_indexes) |
constexpr float | interaction_value (float value1, float value2) |
std::tuple< VW::details::features_range_t, VW::details::features_range_t > | generate_quadratic_char_combination (const std::array< VW::features, VW::NUM_NAMESPACES > &feature_groups, VW::namespace_index ns_idx1, VW::namespace_index ns_idx2) |
template<typename DispatchCombinationFuncT > | |
void | generate_generic_extent_combination_iterative (const std::array< VW::features, VW::NUM_NAMESPACES > &feature_groups, const std::vector< VW::extent_term > &terms, const DispatchCombinationFuncT &dispatch_combination_func, std::stack< VW::details::extent_interaction_expansion_stack_item > &in_process_frames, VW::moved_object_pool< VW::details::extent_interaction_expansion_stack_item > &frame_pool) |
std::tuple< VW::details::features_range_t, VW::details::features_range_t, VW::details::features_range_t > | generate_cubic_char_combination (const std::array< VW::features, VW::NUM_NAMESPACES > &feature_groups, VW::namespace_index ns_idx1, VW::namespace_index ns_idx2, VW::namespace_index ns_idx3) |
std::vector< VW::details::features_range_t > | generate_generic_char_combination (const std::array< VW::features, VW::NUM_NAMESPACES > &feature_groups, const std::vector< VW::namespace_index > &terms) |
template<class DataT , class WeightOrIndexT , void(*)(DataT &, float, WeightOrIndexT) FuncT, bool audit, void(*)(DataT &, const VW::audit_strings *) audit_func, class WeightsT > | |
void | inner_kernel (DataT &dat, VW::features::const_audit_iterator &begin, VW::features::const_audit_iterator &end, const uint64_t offset, WeightsT &weights, VW::feature_value ft_value, VW::feature_index halfhash) |
template<bool Audit, typename KernelFuncT , typename AuditFuncT > | |
size_t | process_quadratic_interaction (const std::tuple< VW::details::features_range_t, VW::details::features_range_t > &range, bool permutations, const KernelFuncT &kernel_func, const AuditFuncT &audit_func) |
template<bool Audit, typename KernelFuncT , typename AuditFuncT > | |
size_t | process_cubic_interaction (const std::tuple< VW::details::features_range_t, VW::details::features_range_t, VW::details::features_range_t > &range, bool permutations, const KernelFuncT &kernel_func, const AuditFuncT &audit_func) |
template<bool Audit, typename KernelFuncT , typename AuditFuncT > | |
size_t | process_generic_interaction (const std::vector< VW::details::features_range_t > &range, bool permutations, const KernelFuncT &kernel_func, const AuditFuncT &audit_func, std::vector< VW::details::feature_gen_data > &state_data) |
size_t | bin_read (io_buf &i, char *data, size_t len) |
size_t | bin_write (io_buf &o, const char *data, uint32_t len) |
size_t | bin_text_write (io_buf &io, char *data, size_t len, std::stringstream &msg, bool text) |
size_t | bin_text_read_write (io_buf &io, char *data, size_t len, bool read, std::stringstream &msg, bool text) |
size_t | bin_text_write_fixed (io_buf &io, char *data, size_t len, std::stringstream &msg, bool text) |
size_t | bin_text_read_write_fixed (io_buf &io, char *data, size_t len, bool read, std::stringstream &msg, bool text) |
size_t | bin_text_read_write_fixed_validated (io_buf &io, char *data, size_t len, bool read, std::stringstream &msg, bool text) |
void | append_example_namespace_from_memory (const label_feature_map &lfm, VW::example &ec, size_t lab) |
void | truncate_example_namespace_from_memory (const label_feature_map &lfm, VW::example &ec, size_t lab) |
template<class T > | |
T * | calloc_or_throw (size_t nmemb) |
template<class T > | |
T & | calloc_or_throw () |
template<class T > | |
T * | calloc_mergable_or_throw (size_t nmemb) |
void | print_multiclass_update_with_probability (VW::workspace &all, const VW::example &ec, uint32_t prediction) |
void | print_multiclass_update_with_score (VW::workspace &all, const VW::example &ec, uint32_t prediction) |
void | finish_multiclass_example (VW::workspace &all, VW::example &ec, bool update_loss) |
template<class T > | |
void | finish_multiclass_example (VW::workspace &all, T &, VW::example &ec) |
template<class T > | |
void | finish_multiclass_example_without_loss (VW::workspace &all, T &, VW::example &ec) |
void | update_stats_multiclass_label (const VW::workspace &all, shared_data &sd, const VW::example &ec, VW::io::logger &logger) |
void | output_example_prediction_multiclass_label (VW::workspace &all, const VW::example &ec, VW::io::logger &logger) |
void | print_update_multiclass_label (VW::workspace &all, shared_data &sd, const VW::example &ec, VW::io::logger &logger) |
template<typename UnusedDataT > | |
void | update_stats_multiclass_label (const VW::workspace &all, shared_data &sd, const UnusedDataT &, const VW::example &ec, VW::io::logger &logger) |
template<typename UnusedDataT > | |
void | output_example_prediction_multiclass_label (VW::workspace &all, const UnusedDataT &, const VW::example &ec, VW::io::logger &logger) |
template<typename UnusedDataT > | |
void | print_update_multiclass_label (VW::workspace &all, shared_data &sd, const UnusedDataT &, const VW::example &ec, VW::io::logger &logger) |
void | update_stats_multilabel (const VW::workspace &all, const VW::example &ec) |
void | output_example_prediction_multilabel (VW::workspace &all, const VW::example &ec) |
void | print_update_multilabel (VW::workspace &all, const VW::example &ec) |
std::unique_ptr< VW::io::socket > | open_vw_binary_socket (const std::string &host_and_optional_port, VW::io::logger &logger) |
std::unique_ptr< VW::io::socket > | open_vw_binary_socket (const std::string &host, uint16_t port, VW::io::logger &logger) |
void | return_no_label_example (VW::workspace &all, void *, VW::example &ec) |
void | print_no_label_update (VW::workspace &all, VW::example &ec) |
void | output_and_account_no_label_example (VW::workspace &all, VW::example &ec) |
void | merge_options_from_header_strings (const std::vector< std::string > &strings, bool skip_interactions, VW::config::options_i &options, bool &is_ccb_input_model) |
std::vector< extent_term > | parse_full_name_interactions (VW::workspace &all, VW::string_view str) |
std::tuple< std::string, std::string > | extract_ignored_feature (VW::string_view namespace_feature) |
Extract namespace, feature name, and optional feature value from ignored feature string. More... | |
std::unique_ptr< VW::workspace > | parse_args (std::unique_ptr< config::options_i, options_deleter_type > options, VW::trace_message_t trace_listener, void *trace_context, VW::io::logger *custom_logger) |
config::options_i & | load_header_merge_options (config::options_i &options, VW::workspace &all, io_buf &model, bool &interactions_settings_duplicated) |
void | parse_modules (config::options_i &options, VW::workspace &all, bool interactions_settings_duplicated, std::vector< std::string > &dictionary_namespaces) |
void | instantiate_learner (VW::workspace &all, std::unique_ptr< VW::setup_base_i > learner_builder) |
void | parse_sources (config::options_i &options, VW::workspace &all, io_buf &model, bool skip_model_load) |
void | print_enabled_learners (VW::workspace &all, std::vector< std::string > &enabled_learners) |
void | parse_dictionary_argument (VW::workspace &all, const std::string &str) |
template<typename DispatchFuncT > | |
void | parse_dispatch (VW::workspace &all, DispatchFuncT &dispatch) |
std::vector< std::string > | escaped_tokenize (char delim, VW::string_view s, bool allow_empty=false) |
float | parse_float (const char *p, size_t &end_idx, const char *end_line=nullptr) |
float | float_of_string (VW::string_view s, VW::io::logger &logger) |
int | int_of_string (VW::string_view s, char *&end, VW::io::logger &logger) |
int | int_of_string (VW::string_view s, VW::io::logger &logger) |
void | read_regressor_file (VW::workspace &all, const std::vector< std::string > &files, VW::io_buf &io_temp) |
void | finalize_regressor (VW::workspace &all, const std::string ®_name) |
void | initialize_regressor (VW::workspace &all) |
void | save_predictor (VW::workspace &all, const std::string ®_name, size_t current_pass) |
void | save_load_header (VW::workspace &all, VW::io_buf &model_file, bool read, bool text, std::string &file_options, VW::config::options_i &options) |
void | parse_mask_regressor_args (VW::workspace &all, const std::string &feature_mask, std::vector< std::string > initial_regressors) |
void | dump_regressor (VW::workspace &all, io_buf &buf, bool as_text) |
void | dump_regressor (VW::workspace &all, const std::string ®_name, bool as_text) |
void | enable_sources (VW::workspace &all, bool quiet, size_t passes, const VW::details::input_options &input_options) |
void | lock_done (parser &p) |
void | set_done (VW::workspace &all) |
void | reset_source (VW::workspace &all, size_t numbits) |
void | free_parser (VW::workspace &all) |
void | global_print_newline (const std::vector< std::unique_ptr< VW::io::writer > > &final_prediction_sink, VW::io::logger &logger) |
float | finalize_prediction (VW::shared_data &sd, VW::io::logger &logger, float ret) |
void | print_features (VW::workspace &all, VW::example &ec) |
void | print_audit_features (VW::workspace &, VW::example &ec) |
void | save_load_regressor_gd (VW::workspace &all, VW::io_buf &model_file, bool read, bool text) |
void | save_load_online_state_gd (VW::workspace &all, VW::io_buf &model_file, bool read, bool text, std::vector< VW::reductions::details::gd_per_model_state > &pms, VW::reductions::gd *g=nullptr, uint32_t ftrl_size=0) |
template<class T > | |
void | vec_add_multipredict (multipredict_info< T > &mp, const float fx, uint64_t fi) |
void | print_scalars (VW::io::writer *f, const VW::v_array< float > &scalars, const VW::v_array< char > &tag, VW::io::logger &logger) |
void | return_simple_example (VW::workspace &all, void *, VW::example &ec) |
bool | summarize_holdout_set (VW::workspace &all, size_t &no_win_counter) |
void | print_update (VW::workspace &all, const VW::example &ec) |
void | output_and_account_example (VW::workspace &all, const VW::example &ec) |
void | update_stats_simple_label (const VW::workspace &all, shared_data &sd, const VW::example &ec, VW::io::logger &logger) |
void | output_example_prediction_simple_label (VW::workspace &all, const VW::example &ec, VW::io::logger &logger) |
void | print_update_simple_label (VW::workspace &all, shared_data &sd, const VW::example &ec, VW::io::logger &logger) |
template<typename UnusedDataT > | |
void | update_stats_simple_label (const VW::workspace &all, shared_data &sd, const UnusedDataT &, const VW::example &ec, VW::io::logger &logger) |
template<typename UnusedDataT > | |
void | output_example_prediction_simple_label (VW::workspace &all, const UnusedDataT &, const VW::example &ec, VW::io::logger &logger) |
template<typename UnusedDataT > | |
void | print_update_simple_label (VW::workspace &all, shared_data &sd, const UnusedDataT &, const VW::example &ec, VW::io::logger &logger) |
template<class T , void(*)(T &, const T &) f> | |
void | all_reduce (VW::workspace &all, T *buffer, const size_t n) |
Variables | |
constexpr size_t | AR_BUF_SIZE = 1 << 16 |
constexpr uint64_t | CONSTANT_A = 0xeece66d5deece66dULL |
constexpr uint64_t | CONSTANT_C = 2147483647 |
constexpr int | BIAS = 127 << 23 |
constexpr int | QUADRATIC_CONSTANT = 27942141 |
constexpr int | CUBIC_CONSTANT = 21791 |
constexpr int | CUBIC_CONSTANT2 = 37663 |
constexpr int | AFFIX_CONSTANT = 13903957 |
constexpr uint64_t | CONSTANT = 11650396 |
constexpr float | PROBABILITY_TOLERANCE = 1e-5f |
constexpr uint32_t | FNV_PRIME = 16777619 |
constexpr unsigned char | DEFAULT_NAMESPACE = 32 |
constexpr unsigned char | WILDCARD_NAMESPACE = 58 |
constexpr unsigned char | WAP_LDF_NAMESPACE = 126 |
constexpr unsigned char | HISTORY_NAMESPACE = 127 |
constexpr unsigned char | CONSTANT_NAMESPACE = 128 |
constexpr unsigned char | NN_OUTPUT_NAMESPACE = 129 |
constexpr unsigned char | AUTOLINK_NAMESPACE = 130 |
constexpr unsigned char | NEIGHBOR_NAMESPACE |
constexpr unsigned char | AFFIX_NAMESPACE = 132 |
constexpr unsigned char | SPELLING_NAMESPACE = 133 |
constexpr unsigned char | CONDITIONING_NAMESPACE = 134 |
constexpr unsigned char | DICTIONARY_NAMESPACE = 135 |
constexpr unsigned char | NODE_ID_NAMESPACE = 136 |
constexpr unsigned char | BASELINE_ENABLED_MESSAGE_NAMESPACE = 137 |
constexpr unsigned char | CCB_SLOT_NAMESPACE = 139 |
constexpr unsigned char | CCB_ID_NAMESPACE = 140 |
constexpr unsigned char | IGL_FEEDBACK_NAMESPACE = 141 |
constexpr const char * | CCB_LABEL = "ccb" |
constexpr const char * | SLATES_LABEL = "slates" |
constexpr const char * | SHARED_TYPE = "shared" |
constexpr const char * | ACTION_TYPE = "action" |
constexpr const char * | SLOT_TYPE = "slot" |
constexpr const char * | CA_LABEL = "ca" |
constexpr const char * | PDF = "pdf" |
constexpr const char * | CHOSEN_ACTION = "chosen_action" |
constexpr const char * | GRAPH_FEEDBACK_TYPE = "graph" |
constexpr uint64_t | UINT64_ONE = 1ULL |
constexpr float | CS_DEFAULT_ALPHA = 0.05f |
constexpr double | CS_ROBUST_DEFAULT_ALPHA = 0.05f |
constexpr float | BASELINE_DEFAULT_TAU = 0.999f |
constexpr float | CRESSEREAD_DEFAULT_TAU = 1.0f |
constexpr float | DEFAULT_ALPHA = 0.05f |
constexpr float | POW10_BASE = 10.f |
const constexpr uint8_t | VALUES_BELOW_ZERO = FLT_MIN_10_EXP * -1 |
const constexpr uint8_t | VALUES_ABOVE_AND_INCLUDING_ZERO = FLT_MAX_10_EXP + 1 |
const constexpr uint8_t | VALUES_ABOVE_ZERO = FLT_MAX_10_EXP |
constexpr unsigned char | INTERACTION_NS_START = ' ' |
constexpr unsigned char | INTERACTION_NS_END = '~' |
using VW::details::feature_dict = typedef std::unordered_map<std::string, std::unique_ptr<VW::features> > |
using VW::details::features_range_t = typedef std::pair<features::const_audit_iterator, features::const_audit_iterator> |
using VW::details::label_feature_map = typedef std::unordered_map<size_t, features> |
using VW::details::ScoredDual = typedef std::pair<double, VW::details::Duals> |
using VW::details::weight_map = typedef std::unordered_map<uint64_t, std::shared_ptr<VW::weight> > |
void VW::details::accumulate | ( | VW::workspace & | all, |
parameters & | weights, | ||
size_t | o | ||
) |
void VW::details::accumulate_avg | ( | VW::workspace & | all, |
parameters & | weights, | ||
size_t | o | ||
) |
float VW::details::accumulate_scalar | ( | VW::workspace & | all, |
float | local_sum | ||
) |
void VW::details::accumulate_weighted_avg | ( | VW::workspace & | all, |
parameters & | weights | ||
) |
|
inline |
void VW::details::addbufs | ( | T * | buf1, |
const T * | buf2, | ||
const size_t | n | ||
) |
void VW::details::all_reduce | ( | VW::workspace & | all, |
T * | buffer, | ||
const size_t | n | ||
) |
void VW::details::append_example_namespace | ( | VW::example & | ec, |
VW::namespace_index | ns, | ||
const features & | fs | ||
) |
void VW::details::append_example_namespace_from_memory | ( | const label_feature_map & | lfm, |
VW::example & | ec, | ||
size_t | lab | ||
) |
void VW::details::append_example_namespaces_from_example | ( | VW::example & | target, |
const VW::example & | source | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
void VW::details::binary_print_result_by_ref | ( | VW::io::writer * | f, |
float | res, | ||
float | weight, | ||
const VW::v_array< char > & | tag, | ||
VW::io::logger & | logger | ||
) |
|
inline |
|
inline |
T * VW::details::calloc_mergable_or_throw | ( | size_t | nmemb | ) |
T & VW::details::calloc_or_throw | ( | ) |
T * VW::details::calloc_or_throw | ( | size_t | nmemb | ) |
void VW::details::clean_example | ( | VW::workspace & | all, |
example & | ec | ||
) |
std::vector< std::vector< VW::extent_term > > VW::details::compile_extent_interaction | ( | const std::vector< VW::extent_term > & | interaction, |
const std::set< VW::extent_term > & | _all_seen_extents | ||
) |
std::vector< std::vector< VW::extent_term > > VW::details::compile_extent_interactions | ( | const std::vector< std::vector< VW::extent_term > > & | interactions, |
const std::set< VW::extent_term > & | indices | ||
) |
std::vector< std::vector< VW::namespace_index > > VW::details::compile_interaction | ( | const std::vector< VW::namespace_index > & | interaction, |
const std::set< VW::namespace_index > & | indices | ||
) |
std::vector< std::vector< VW::namespace_index > > VW::details::compile_interactions | ( | const std::vector< std::vector< VW::namespace_index > > & | interactions, |
const std::set< VW::namespace_index > & | indices | ||
) |
void VW::details::compile_limits | ( | std::vector< std::string > | limits, |
std::array< uint32_t, VW::NUM_NAMESPACES > & | dest, | ||
bool | quiet, | ||
VW::io::logger & | logger | ||
) |
|
constexpr |
|
constexpr |
|
constexpr |
T VW::details::correctedExp | ( | T | exponent | ) |
void VW::details::cs_ldf_learn_or_predict | ( | VW::LEARNER::learner & | base, |
VW::multi_ex & | examples, | ||
std::vector< VW::cb_label > & | cb_labels, | ||
VW::cs_label & | cs_labels, | ||
std::vector< VW::cs_label > & | prepped_cs_labels, | ||
bool | predict_first, | ||
uint64_t | offset, | ||
size_t | id = 0 |
||
) |
void VW::details::cs_prep_labels | ( | VW::multi_ex & | examples, |
std::vector< VW::cb_label > & | cb_labels, | ||
VW::cs_label & | cs_labels, | ||
std::vector< VW::cs_label > & | prepped_cs_labels, | ||
uint64_t | offset | ||
) |
void VW::details::do_weighting | ( | size_t | normalized_idx, |
uint64_t | length, | ||
const float * | local_weights, | ||
T & | weights | ||
) |
|
inline |
void VW::details::dump_regressor | ( | VW::workspace & | all, |
const std::string & | reg_name, | ||
bool | as_text | ||
) |
void VW::details::dump_regressor | ( | VW::workspace & | all, |
io_buf & | buf, | ||
bool | as_text | ||
) |
void VW::details::enable_sources | ( | VW::workspace & | all, |
bool | quiet, | ||
size_t | passes, | ||
const VW::details::input_options & | input_options | ||
) |
std::vector< std::string > VW::details::escaped_tokenize | ( | char | delim, |
VW::string_view | s, | ||
bool | allow_empty = false |
||
) |
std::vector< std::vector< VW::namespace_index > > VW::details::expand_quadratics_wildcard_interactions | ( | bool | leave_duplicate_interactions, |
const std::set< VW::namespace_index > & | new_example_indices | ||
) |
std::tuple< std::string, std::string > VW::details::extract_ignored_feature | ( | VW::string_view | namespace_feature | ) |
Extract namespace, feature name, and optional feature value from ignored feature string.
namespace_feature | namespace|feature:feature_value. Feature value is optional and if it is supplied chain_hash is applied |
float VW::details::finalize_prediction | ( | VW::shared_data & | sd, |
VW::io::logger & | logger, | ||
float | ret | ||
) |
void VW::details::finalize_regressor | ( | VW::workspace & | all, |
const std::string & | reg_name | ||
) |
void VW::details::finish_cs_example | ( | VW::workspace & | all, |
T & | , | ||
VW::example & | ec | ||
) |
void VW::details::finish_cs_example | ( | VW::workspace & | all, |
VW::example & | ec | ||
) |
void VW::details::finish_multiclass_example | ( | VW::workspace & | all, |
T & | , | ||
VW::example & | ec | ||
) |
void VW::details::finish_multiclass_example | ( | VW::workspace & | all, |
VW::example & | ec, | ||
bool | update_loss | ||
) |
void VW::details::finish_multiclass_example_without_loss | ( | VW::workspace & | all, |
T & | , | ||
VW::example & | ec | ||
) |
std::vector< std::pair< bool, uint64_t > > VW::details::flatten_namespace_extents | ( | const std::vector< namespace_extent > & | extents, |
size_t | overall_feature_space_size | ||
) |
|
inline |
|
inlinenoexcept |
void VW::details::free_parser | ( | VW::workspace & | all | ) |
void VW::details::gen_cs_example | ( | cb_to_cs & | c, |
VW::example & | ec, | ||
const VW::cb_label & | ld, | ||
VW::cs_label & | cs_ld, | ||
VW::io::logger & | logger | ||
) |
void VW::details::gen_cs_example_dm | ( | cb_to_cs & | c, |
VW::example & | ec, | ||
const VW::cb_label & | ld, | ||
VW::cs_label & | cs_ld | ||
) |
void VW::details::gen_cs_example_dm | ( | const VW::multi_ex & | examples, |
VW::cs_label & | cs_labels | ||
) |
void VW::details::gen_cs_example_dr | ( | cb_to_cs & | c, |
VW::example & | ec, | ||
const VW::cb_label & | ld, | ||
VW::cs_label & | cs_ld, | ||
float | = 0.f |
||
) |
void VW::details::gen_cs_example_dr | ( | cb_to_cs_adf_dr & | c, |
VW::multi_ex & | examples, | ||
VW::cs_label & | cs_labels, | ||
float | clip_p = 0.f |
||
) |
void VW::details::gen_cs_example_ips | ( | cb_to_cs & | c, |
const VW::cb_label & | ld, | ||
VW::cs_label & | cs_ld, | ||
VW::io::logger & | logger, | ||
float | clip_p = 0.f |
||
) |
void VW::details::gen_cs_example_ips | ( | const VW::multi_ex & | examples, |
VW::cs_label & | cs_labels, | ||
VW::io::logger & | logger, | ||
float | clip_p = 0.f |
||
) |
void VW::details::gen_cs_example_mtr | ( | cb_to_cs_adf_mtr & | c, |
VW::multi_ex & | ec_seq, | ||
VW::cs_label & | cs_labels, | ||
uint64_t | offset_index | ||
) |
void VW::details::gen_cs_example_sm | ( | VW::multi_ex & | examples, |
uint32_t | chosen_action, | ||
float | sign_offset, | ||
const VW::action_scores & | action_vals, | ||
VW::cs_label & | cs_labels | ||
) |
void VW::details::gen_cs_label | ( | cb_to_cs & | c, |
VW::example & | ec, | ||
VW::cs_label & | cs_ld, | ||
uint32_t | action, | ||
float | clip_p = 0.f |
||
) |
void VW::details::gen_cs_test_example | ( | const VW::multi_ex & | examples, |
VW::cs_label & | cs_labels | ||
) |
|
constexpr |
|
constexpr |
|
inline |
|
inline |
void VW::details::generate_generic_extent_combination_iterative | ( | const std::array< VW::features, VW::NUM_NAMESPACES > & | feature_groups, |
const std::vector< VW::extent_term > & | terms, | ||
const DispatchCombinationFuncT & | dispatch_combination_func, | ||
std::stack< VW::details::extent_interaction_expansion_stack_item > & | in_process_frames, | ||
VW::moved_object_pool< VW::details::extent_interaction_expansion_stack_item > & | frame_pool | ||
) |
std::vector< std::vector< T > > VW::details::generate_namespace_combinations_with_repetition | ( | const std::set< T > & | namespaces, |
size_t | num_to_pick | ||
) |
std::vector< std::vector< T > > VW::details::generate_namespace_permutations_with_repetition | ( | const std::set< T > & | namespaces, |
size_t | num_to_pick | ||
) |
|
inline |
|
inline |
void VW::details::get_prediction | ( | VW::io::reader * | f, |
float & | res, | ||
float & | weight | ||
) |
void VW::details::global_print_newline | ( | const std::vector< std::unique_ptr< VW::io::writer > > & | final_prediction_sink, |
VW::io::logger & | logger | ||
) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
std::vector< T > VW::details::indices_to_values_ignore_last_index | ( | const std::vector< size_t > & | indices, |
const std::set< T > & | values | ||
) |
std::vector< T > VW::details::indices_to_values_one_based | ( | const std::vector< size_t > & | indices, |
const std::set< T > & | values | ||
) |
void VW::details::initialize_regressor | ( | VW::workspace & | all | ) |
void VW::details::inner_kernel | ( | DataT & | dat, |
VW::features::const_audit_iterator & | begin, | ||
VW::features::const_audit_iterator & | end, | ||
const uint64_t | offset, | ||
WeightsT & | weights, | ||
VW::feature_value | ft_value, | ||
VW::feature_index | halfhash | ||
) |
void VW::details::instantiate_learner | ( | VW::workspace & | all, |
std::unique_ptr< VW::setup_base_i > | learner_builder | ||
) |
|
inline |
|
inline |
|
inlineconstexpr |
config::options_i & VW::details::load_header_merge_options | ( | config::options_i & | options, |
VW::workspace & | all, | ||
io_buf & | model, | ||
bool & | interactions_settings_duplicated | ||
) |
void VW::details::lock_done | ( | parser & | p | ) |
|
inline |
|
inline |
|
inline |
void VW::details::merge_options_from_header_strings | ( | const std::vector< std::string > & | strings, |
bool | skip_interactions, | ||
VW::config::options_i & | options, | ||
bool & | is_ccb_input_model | ||
) |
|
inline |
|
inline |
std::unique_ptr< VW::io::socket > VW::details::open_vw_binary_socket | ( | const std::string & | host, |
uint16_t | port, | ||
VW::io::logger & | logger | ||
) |
std::unique_ptr< VW::io::socket > VW::details::open_vw_binary_socket | ( | const std::string & | host_and_optional_port, |
VW::io::logger & | logger | ||
) |
void VW::details::output_and_account_example | ( | VW::workspace & | all, |
const VW::example & | ec | ||
) |
void VW::details::output_and_account_no_label_example | ( | VW::workspace & | all, |
VW::example & | ec | ||
) |
void VW::details::output_cs_example | ( | VW::workspace & | all, |
const VW::example & | ec | ||
) |
void VW::details::output_cs_example | ( | VW::workspace & | all, |
const VW::example & | ec, | ||
const cs_label & | cs_label, | ||
uint32_t | multiclass_prediction | ||
) |
void VW::details::output_example_prediction_cs_label | ( | VW::workspace & | all, |
const UnusedDataT & | , | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::output_example_prediction_cs_label | ( | VW::workspace & | all, |
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::output_example_prediction_multiclass_label | ( | VW::workspace & | all, |
const UnusedDataT & | , | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::output_example_prediction_multiclass_label | ( | VW::workspace & | all, |
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::output_example_prediction_multilabel | ( | VW::workspace & | all, |
const VW::example & | ec | ||
) |
void VW::details::output_example_prediction_simple_label | ( | VW::workspace & | all, |
const UnusedDataT & | , | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::output_example_prediction_simple_label | ( | VW::workspace & | all, |
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
std::unique_ptr< VW::workspace > VW::details::parse_args | ( | std::unique_ptr< config::options_i, options_deleter_type > | options, |
VW::trace_message_t | trace_listener, | ||
void * | trace_context, | ||
VW::io::logger * | custom_logger | ||
) |
void VW::details::parse_dictionary_argument | ( | VW::workspace & | all, |
const std::string & | str | ||
) |
void VW::details::parse_dispatch | ( | VW::workspace & | all, |
DispatchFuncT & | dispatch | ||
) |
|
inline |
std::vector< extent_term > VW::details::parse_full_name_interactions | ( | VW::workspace & | all, |
VW::string_view | str | ||
) |
void VW::details::parse_mask_regressor_args | ( | VW::workspace & | all, |
const std::string & | feature_mask, | ||
std::vector< std::string > | initial_regressors | ||
) |
void VW::details::parse_modules | ( | config::options_i & | options, |
VW::workspace & | all, | ||
bool | interactions_settings_duplicated, | ||
std::vector< std::string > & | dictionary_namespaces | ||
) |
void VW::details::parse_sources | ( | config::options_i & | options, |
VW::workspace & | all, | ||
io_buf & | model, | ||
bool | skip_model_load | ||
) |
void VW::details::print_action_score | ( | VW::io::writer * | f, |
const VW::v_array< action_score > & | a_s, | ||
const VW::v_array< char > & | , | ||
VW::io::logger & | logger | ||
) |
void VW::details::print_audit_features | ( | VW::workspace & | , |
VW::example & | ec | ||
) |
void VW::details::print_cs_update | ( | VW::workspace & | all, |
bool | is_test, | ||
const VW::example & | ec, | ||
const VW::multi_ex * | ec_seq, | ||
bool | multilabel, | ||
uint32_t | prediction | ||
) |
void VW::details::print_cs_update_action_scores | ( | VW::workspace & | all, |
bool | is_test, | ||
size_t | num_features, | ||
const VW::action_scores & | action_scores | ||
) |
void VW::details::print_cs_update_multiclass | ( | VW::workspace & | all, |
bool | is_test, | ||
size_t | num_features, | ||
uint32_t | prediction | ||
) |
void VW::details::print_enabled_learners | ( | VW::workspace & | all, |
std::vector< std::string > & | enabled_learners | ||
) |
void VW::details::print_features | ( | VW::workspace & | all, |
VW::example & | ec | ||
) |
void VW::details::print_multiclass_update_with_probability | ( | VW::workspace & | all, |
const VW::example & | ec, | ||
uint32_t | prediction | ||
) |
void VW::details::print_multiclass_update_with_score | ( | VW::workspace & | all, |
const VW::example & | ec, | ||
uint32_t | prediction | ||
) |
void VW::details::print_no_label_update | ( | VW::workspace & | all, |
VW::example & | ec | ||
) |
void VW::details::print_result_by_ref | ( | VW::io::writer * | f, |
float | res, | ||
float | weight, | ||
const VW::v_array< char > & | tag, | ||
VW::io::logger & | logger | ||
) |
void VW::details::print_scalars | ( | VW::io::writer * | f, |
const VW::v_array< float > & | scalars, | ||
const VW::v_array< char > & | tag, | ||
VW::io::logger & | logger | ||
) |
void VW::details::print_update | ( | VW::workspace & | all, |
const VW::example & | ec | ||
) |
void VW::details::print_update_cb | ( | VW::workspace & | all, |
bool | is_test, | ||
const VW::example & | ec, | ||
const VW::multi_ex * | ec_seq, | ||
bool | action_scores, | ||
const VW::cb_class * | known_cost | ||
) |
void VW::details::print_update_cs_label | ( | VW::workspace & | all, |
shared_data & | sd, | ||
const UnusedDataT & | , | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::print_update_cs_label | ( | VW::workspace & | all, |
shared_data & | sd, | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::print_update_multiclass_label | ( | VW::workspace & | all, |
shared_data & | sd, | ||
const UnusedDataT & | , | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::print_update_multiclass_label | ( | VW::workspace & | all, |
shared_data & | sd, | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::print_update_multilabel | ( | VW::workspace & | all, |
const VW::example & | ec | ||
) |
void VW::details::print_update_simple_label | ( | VW::workspace & | all, |
shared_data & | sd, | ||
const UnusedDataT & | , | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::print_update_simple_label | ( | VW::workspace & | all, |
shared_data & | sd, | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
size_t VW::details::process_cubic_interaction | ( | const std::tuple< VW::details::features_range_t, VW::details::features_range_t, VW::details::features_range_t > & | range, |
bool | permutations, | ||
const KernelFuncT & | kernel_func, | ||
const AuditFuncT & | audit_func | ||
) |
size_t VW::details::process_generic_interaction | ( | const std::vector< VW::details::features_range_t > & | range, |
bool | permutations, | ||
const KernelFuncT & | kernel_func, | ||
const AuditFuncT & | audit_func, | ||
std::vector< VW::details::feature_gen_data > & | state_data | ||
) |
size_t VW::details::process_quadratic_interaction | ( | const std::tuple< VW::details::features_range_t, VW::details::features_range_t > & | range, |
bool | permutations, | ||
const KernelFuncT & | kernel_func, | ||
const AuditFuncT & | audit_func | ||
) |
void VW::details::read_regressor_file | ( | VW::workspace & | all, |
const std::vector< std::string > & | files, | ||
VW::io_buf & | io_temp | ||
) |
void VW::details::reset_source | ( | VW::workspace & | all, |
size_t | numbits | ||
) |
void VW::details::return_no_label_example | ( | VW::workspace & | all, |
void * | , | ||
VW::example & | ec | ||
) |
void VW::details::return_simple_example | ( | VW::workspace & | all, |
void * | , | ||
VW::example & | ec | ||
) |
|
inlineconstexprnoexcept |
float VW::details::safe_probability | ( | float | prob, |
VW::io::logger & | logger | ||
) |
void VW::details::save_load_header | ( | VW::workspace & | all, |
VW::io_buf & | model_file, | ||
bool | read, | ||
bool | text, | ||
std::string & | file_options, | ||
VW::config::options_i & | options | ||
) |
void VW::details::save_load_online_state_gd | ( | VW::workspace & | all, |
VW::io_buf & | model_file, | ||
bool | read, | ||
bool | text, | ||
std::vector< VW::reductions::details::gd_per_model_state > & | pms, | ||
VW::reductions::gd * | g = nullptr , |
||
uint32_t | ftrl_size = 0 |
||
) |
void VW::details::save_load_regressor_gd | ( | VW::workspace & | all, |
VW::io_buf & | model_file, | ||
bool | read, | ||
bool | text | ||
) |
void VW::details::save_predictor | ( | VW::workspace & | all, |
const std::string & | reg_name, | ||
size_t | current_pass | ||
) |
void VW::details::set_done | ( | VW::workspace & | all | ) |
void VW::details::sort_and_filter_duplicate_interactions | ( | std::vector< std::vector< T > > & | vec, |
bool | filter_duplicates, | ||
size_t & | removed_cnt, | ||
size_t & | sorted_cnt | ||
) |
bool VW::details::sort_interactions_comparator | ( | const std::vector< VW::namespace_index > & | a, |
const std::vector< VW::namespace_index > & | b | ||
) |
bool VW::details::summarize_holdout_set | ( | VW::workspace & | all, |
size_t & | no_win_counter | ||
) |
|
inline |
void VW::details::truncate_example_namespace | ( | VW::example & | ec, |
VW::namespace_index | ns, | ||
const features & | fs | ||
) |
void VW::details::truncate_example_namespace_from_memory | ( | const label_feature_map & | lfm, |
VW::example & | ec, | ||
size_t | lab | ||
) |
void VW::details::truncate_example_namespaces_from_example | ( | VW::example & | target, |
const VW::example & | source | ||
) |
std::vector< namespace_extent > VW::details::unflatten_namespace_extents | ( | const std::vector< std::pair< bool, uint64_t > > & | extents | ) |
void VW::details::update_stats_cs_label | ( | const VW::workspace & | all, |
shared_data & | sd, | ||
const UnusedDataT & | , | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::update_stats_cs_label | ( | const VW::workspace & | all, |
shared_data & | sd, | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::update_stats_multiclass_label | ( | const VW::workspace & | all, |
shared_data & | sd, | ||
const UnusedDataT & | , | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::update_stats_multiclass_label | ( | const VW::workspace & | all, |
shared_data & | sd, | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::update_stats_multilabel | ( | const VW::workspace & | all, |
const VW::example & | ec | ||
) |
void VW::details::update_stats_simple_label | ( | const VW::workspace & | all, |
shared_data & | sd, | ||
const UnusedDataT & | , | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
void VW::details::update_stats_simple_label | ( | const VW::workspace & | all, |
shared_data & | sd, | ||
const VW::example & | ec, | ||
VW::io::logger & | logger | ||
) |
|
inline |
|
inline |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |
|
constexpr |