Delete blank line

This commit is contained in:
Kang 2020-05-20 14:45:37 +08:00
parent 89470cf29d
commit 66e5320b1b
1 changed files with 0 additions and 1 deletions

View File

@ -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.