Fix warnings.

This commit is contained in:
Egor Pugin 2022-02-07 00:19:52 +03:00
parent 968d653f89
commit f526bf30bb

View File

@ -1238,7 +1238,7 @@ bool LSTMTrainer::ComputeTextTargets(const NetworkIO &outputs,
DecodeLabels(truth_labels).c_str(), targets->Width());
return false;
}
size_t i = 0;
int i = 0;
for (auto truth_label : truth_labels) {
targets->SetActivations(i, truth_label, 1.0);
++i;