diff options
Diffstat (limited to 'dtrain/sample_hg.h')
-rw-r--r-- | dtrain/sample_hg.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/dtrain/sample_hg.h b/dtrain/sample_hg.h deleted file mode 100644 index 932fd369..00000000 --- a/dtrain/sample_hg.h +++ /dev/null @@ -1,24 +0,0 @@ -#ifndef _SAMPLE_HG_H_ -#define _SAMPLE_HG_H_ - -#include <vector> -#include "sparse_vector.h" -#include "sampler.h" -#include "wordid.h" - -class Hypergraph; - -struct HypergraphSampler { - struct Hypothesis { - std::vector<WordID> words; - SparseVector<double> fmap; - prob_t model_score; - }; - - static void sample_hypotheses(const Hypergraph& hg, - unsigned n, - MT19937* rng, - std::vector<Hypothesis>* hypos); -}; - -#endif |