1 write to Optimizer
Microsoft.ML.TorchSharp (1)
NasBert\Optimizers\Adam.cs (1)
18
Optimizer
= torch.optim.Adam(Parameters, options.LearningRate[0],
7 references to Optimizer
Microsoft.ML.TorchSharp (7)
NasBert\NasBertTrainer.cs (2)
190
base.Optimizer = Optimizer.
Optimizer
;
192
Optimizer.
Optimizer
,
NasBert\Optimizers\BaseOptimizer.cs (3)
35
public double LearningRate =>
Optimizer
.ParamGroups.ToArray()[0].LearningRate;
53
Optimizer
.step();
61
public void zero_grad() =>
Optimizer
.zero_grad();
Roberta\QATrainer.cs (2)
171
trainer.Optimizer.
Optimizer
.Dispose();
221
Optimizer.
Optimizer
,