4 references to ClipNorm
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;