mirror of
https://github.com/marian-nmt/marian.git
synced 2024-11-27 10:33:14 +03:00
formatting
This commit is contained in:
parent
222de7dae0
commit
23b73264d1
@ -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;
|
||||
//*/
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user