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