3 writes to Updates
Microsoft.ML.TorchSharp (3)
Roberta\QATrainer.cs (3)
195
Updates
= 0;
280
Updates
= 0;
347
Updates
++;
6 references to Updates
Microsoft.ML.TorchSharp (6)
Roberta\QATrainer.cs (6)
159
e.SetProgress(0, trainer.
Updates
, trainer.RowCount);
290
torch.random.manual_seed(hostInternal.Seed +
Updates
?? 1);
291
torch.cuda.manual_seed(hostInternal.Seed +
Updates
?? 1);
375
if (
Updates
% Parent.Option.LogEveryNStep == 0)
377
pch.Checkpoint(loss.ToDouble(),
Updates
);
378
_channel.Info($"Row: {
Updates
}, Loss: {loss.ToDouble()}");