1 write to Parameters
Microsoft.ML.TorchSharp (1)
NasBert\Optimizers\BaseOptimizer.cs (1)
41
Parameters
= parameters.ToArray();
4 references to Parameters
Microsoft.ML.TorchSharp (4)
NasBert\Optimizers\Adam.cs (1)
18
Optimizer = torch.optim.Adam(
Parameters
, options.LearningRate[0],
NasBert\Optimizers\BaseOptimizer.cs (3)
51
torch.nn.utils.clip_grad_norm_(
Parameters
, Options.ClipNorm);
65
return Math.Sqrt(
Parameters
83
foreach (var p in
Parameters
)