revert-3824-remove_grad_op_type
caoying03 8 years ago
parent 3d12a610ca
commit 7035bb63e9

@ -677,6 +677,7 @@ void Argument::reorganizeSeqInfo(
const ICpuGpuVectorPtr subSeqStartPos,
std::vector<std::vector<int>>& reorganizedSeqInfo) {
CHECK(seqStartPos);
reorganizedSeqInfo.clear();
int seqNum = seqStartPos->getSize() - 1;
int* seqStarts = seqStartPos->getMutableData(false);

Loading…
Cancel
Save