Vowpal Wabbit
Loading...
Searching...
No Matches
Public Attributes | List of all members
VW::label_parser Class Reference

#include <label_parser.h>

Public Attributes

void(* default_label )(polylabel &label)
 
void(* parse_label )(polylabel &label, reduction_features &red_features, VW::label_parser_reuse_mem &reuse_mem, const VW::named_labels *ldict, const std::vector< VW::string_view > &words, VW::io::logger &logger)
 
size_t(* cache_label )(const polylabel &label, const reduction_features &red_features, io_buf &cache, const std::string &upstream_name, bool text)
 
size_t(* read_cached_label )(polylabel &label, reduction_features &red_features, io_buf &cache)
 
float(* get_weight )(const polylabel &label, const reduction_features &red_features)
 
bool(* test_label )(const polylabel &label)
 
VW::label_type_t label_type
 

Member Data Documentation

◆ cache_label

size_t(* VW::label_parser::cache_label) (const polylabel &label, const reduction_features &red_features, io_buf &cache, const std::string &upstream_name, bool text)

◆ default_label

void(* VW::label_parser::default_label) (polylabel &label)

◆ get_weight

float(* VW::label_parser::get_weight) (const polylabel &label, const reduction_features &red_features)

◆ label_type

VW::label_type_t VW::label_parser::label_type

◆ parse_label

void(* VW::label_parser::parse_label) (polylabel &label, reduction_features &red_features, VW::label_parser_reuse_mem &reuse_mem, const VW::named_labels *ldict, const std::vector< VW::string_view > &words, VW::io::logger &logger)

◆ read_cached_label

size_t(* VW::label_parser::read_cached_label) (polylabel &label, reduction_features &red_features, io_buf &cache)

◆ test_label

bool(* VW::label_parser::test_label) (const polylabel &label)

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