前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
if all input grads are zero, the output of clip_by_norm will be inf or nan. This pr is used to fix this bug.
拖放文件到此处或点击上传