STT/native_client/kenlm/lm/interpolate/tune_weights.hh
2017-09-13 11:41:15 -03:00

16 lines
440 B
C++

#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