This commit is contained in:
Guoli Ye 2018-06-20 11:17:01 -07:00
Родитель 7377fc6f44
Коммит c05a22c884
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -859,7 +859,7 @@ public:
const char* buffer = bufferStart + latticeMBNumTimeSteps * sizeof(float) * currentLatticeSeq.s + currentLatticeSeq.tBegin;
latticePair->second.ReadFromBuffer(buffer, m_idmap, m_idmap.back(), specialwordids());
latticePair->second.ReadFromBuffer(buffer, m_idmap, m_idmap.back());
assert((currentLabelSeq.tEnd - currentLabelSeq.tBegin) == latticePair->second.info.numframes);
// The size of the vector is small -- the number of sequences in the minibatch.
// Iteration likely will be faster than the overhead with unordered_map