When coding PyTorch in torch.nn.utils
I see two functions, clip_grad_norm
and clip_grad_norm_
.
I want to know the difference so I went to check the documentation but when I searched I only found the clip_grad_norm_
and not clip_grad_norm
.
So I'm here to ask if anyone knows the difference.