diff options
author | Hieu Hoang <hieuhoang@gmail.com> | 2017-04-18 14:53:27 +0300 |
---|---|---|
committer | Hieu Hoang <hieuhoang@gmail.com> | 2017-04-18 14:53:27 +0300 |
commit | db5b35660c4138958e42f614566ffa668eb146e0 (patch) | |
tree | 578fe4eb467ed8b393fcd1dd5e4b9b4456fb1666 /src/amun/cpu/decoder/best_hyps.h | |
parent | 174600f56d40ad8b5a7b4110e2be7a5369fb7527 (diff) |
debug
Diffstat (limited to 'src/amun/cpu/decoder/best_hyps.h')
-rw-r--r-- | src/amun/cpu/decoder/best_hyps.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/amun/cpu/decoder/best_hyps.h b/src/amun/cpu/decoder/best_hyps.h index 3cf37acd..15589e53 100644 --- a/src/amun/cpu/decoder/best_hyps.h +++ b/src/amun/cpu/decoder/best_hyps.h @@ -5,6 +5,7 @@ #include "common/scorer.h" #include "common/god.h" +#include "common/utils.h" #include "common/exception.h" #include "cpu/mblas/matrix.h" @@ -77,6 +78,9 @@ public: bestCosts[i] = Probs.data()[keys[i]]; } + std::cerr << "bestCosts=" << amunmt::Debug(bestCosts, 2) << " " << std::endl; + std::cerr << "bestKeys=" << amunmt::Debug(bestKeys, 2) << std::endl; + std::vector<std::vector<float>> breakDowns; bool doBreakdown = god.Get<bool>("n-best"); if (doBreakdown) { |