mirror of
https://github.com/marian-nmt/marian.git
synced 2024-09-17 09:47:34 +03:00
'use' variables
This commit is contained in:
parent
5362c2cc0e
commit
82fa059a03
@ -122,7 +122,8 @@ Expr Logits::getFactoredLogits(size_t groupIndex,
|
||||
Expr lastIndices = shortlist->getIndicesExpr();
|
||||
assert(lastIndices->shape()[0] == currBeamSize || lastIndices->shape()[0] == 1);
|
||||
assert(lastIndices->shape()[1] == batchSize || lastIndices->shape()[1] == 1);
|
||||
|
||||
currBeamSize; currBeamSize;
|
||||
|
||||
factorMasks = lambda({lastIndices}, lastIndices->shape(), Type::float32, forward);
|
||||
|
||||
const Shape &s = factorMasks->shape();
|
||||
|
Loading…
Reference in New Issue
Block a user