formatting

This commit is contained in:
Hieu Hoang 2018-01-12 00:35:54 +00:00
parent 222de7dae0
commit 23b73264d1

View File

@ -417,10 +417,10 @@ void EncoderDecoder::AssembleBeamStateTopup(const Histories& histories,
unsigned EncoderDecoder::SentencesToGet(const Histories& histories)
{
/*
unsigned ret = god_.Get<unsigned>("mini-batch") - histories.NumActive();
return ret;
unsigned ret1 = histories.NumInactive();
return ret1;
*/
///*
BEGIN_TIMER("SentencesToGet");
unsigned minActive = (histories.size() > 8) ? histories.size() - 8 : 1;
@ -457,7 +457,6 @@ unsigned EncoderDecoder::SentencesToGet(const Histories& histories)
PAUSE_TIMER("SentencesToGet");
return ret;
//*/
}
}