• Z
    Add fp16 for clip_by_norm & clip_by_global_norm (#36198) · 3a869cc5
    zhangbo9674 提交于
    * add fp16 for clip_by_norm api
    
    * support ClipByGlobalNorm for fp16 in dygraph
    
    * add unittest for dygraph clipGlobalNorm
    
    * refine unittest for dygraph clipGlobalNorm for mac and windows
    
    * refine unittest
    
    * add unittest for fp64
    
    * refine unittest for fp64
    3a869cc5
test_gradient_clip.py 21.6 KB