!1286 Deleted the blank line

Merge pull request !1286 from Kang/master
pull/1286/MERGE
mindspore-ci-bot 5 years ago committed by Gitee
commit 20478b574b

@ -35,7 +35,6 @@ GRADIENT_CLIP_VALUE = 1.0
_nn_clip_by_norm = nn.ClipByNorm()
clip_grad = C.MultitypeFuncGraph("clip_grad")
@clip_grad.register("Number", "Number", "Tensor")
def _clip_grad(clip_type, clip_value, grad):
"""
Clip gradients.

Loading…
Cancel
Save