From e4bc247cd4c1665f502d336f8e3be82355beddbd Mon Sep 17 00:00:00 2001 From: minqiyang Date: Wed, 26 Sep 2018 15:20:29 +0800 Subject: [PATCH] Polish code test=develop --- python/paddle/fluid/layers/nn.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 77572268981..170bad1aa3b 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -6690,7 +6690,6 @@ def clip_by_norm(x, max_norm, name=None): out = helper.create_variable( name=name, dtype=x.dtype, persistable=False) - # max_norm should always be set helper.append_op( type="clip_by_norm", inputs={"X": x}, -- GitLab