1 write to Options
Microsoft.ML.TorchSharp (1)
NasBert\Optimizers\BaseOptimizer.cs (1)
40Options = options;
4 references to Options
Microsoft.ML.TorchSharp (4)
NasBert\Optimizers\BaseOptimizer.cs (4)
49if (Options.ClipNorm > 0) 51torch.nn.utils.clip_grad_norm_(Parameters, Options.ClipNorm); 74return gradNorm > Options.ClipNorm && Options.ClipNorm > 0;