提交 a6b58cf0 编写于 作者: L liaogang

Merge remote-tracking branch 'upstream/master'

...@@ -676,7 +676,8 @@ void RecurrentGradientMachine::createInFrameInfo(int inlinkId, ...@@ -676,7 +676,8 @@ void RecurrentGradientMachine::createInFrameInfo(int inlinkId,
if (hasSubseq) { if (hasSubseq) {
// inFrameLine create sequenceStartPositions one time // inFrameLine create sequenceStartPositions one time
CHECK_EQ(sequenceStartPositions.size(), CHECK_EQ(sequenceStartPositions.size(),
maxSequenceLength_ + input.getNumSubSequences()); static_cast<size_t>(maxSequenceLength_ +
input.getNumSubSequences()));
CHECK_EQ(inlinkInfo->seqStartPosIndex.size(), CHECK_EQ(inlinkInfo->seqStartPosIndex.size(),
static_cast<size_t>(maxSequenceLength_ + 1)); static_cast<size_t>(maxSequenceLength_ + 1));
createSeqPos(sequenceStartPositions, &inlinkInfo->sequenceStartPositions); createSeqPos(sequenceStartPositions, &inlinkInfo->sequenceStartPositions);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册