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