This commit is contained in:
Родитель
7377fc6f44
Коммит
c05a22c884
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче