“cc9a860d930c7e336128e1020d29a1d5219811b5”上不存在“develop/doc_cn/design/switch_kernel.html”
add clip_grad_value_ api (#54603)
* add clip_grad_value_ api * add test for ClipGradByValue * typo fix * refine and modify clip_grad_norm_ * no_grad * clip_ * remove g=p.grad * bug: AssertionError: When Variable is used as the condition of if/while , Variable can only contain one element.
Showing
想要评论请 注册 或 登录