File size: 440 Bytes
8652957
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef LM_INTERPOLATE_TUNE_WEIGHTS_H
#define LM_INTERPOLATE_TUNE_WEIGHTS_H

#include "util/string_piece.hh"

#include <vector>

namespace lm { namespace interpolate {
struct InstancesConfig;

// Run a tuning loop, producing weights as output.
void TuneWeights(int tune_file, const std::vector<StringPiece> &model_names, const InstancesConfig &config, std::vector<float> &weights);

}} // namespaces
#endif // LM_INTERPOLATE_TUNE_WEIGHTS_H