From a440c7c75b6df9461c310f632abb75be59cd3c9f Mon Sep 17 00:00:00 2001 From: "ysh329@sina.com" Date: Mon, 28 Sep 2020 03:50:51 +0000 Subject: [PATCH] Fix api for ErrorClipByValue. test=develop --- python/paddle/nn/__init__.py | 1 - 1 file changed, 1 deletion(-) diff --git a/python/paddle/nn/__init__.py b/python/paddle/nn/__init__.py index b79b965f5b9..2452f196987 100644 --- a/python/paddle/nn/__init__.py +++ b/python/paddle/nn/__init__.py @@ -31,7 +31,6 @@ __all__ += rnn.__all__ __all__ += weight_norm_hook.__all__ # TODO: define alias in nn directory -# from .clip import ErrorClipByValue #DEFINE_ALIAS from .clip import GradientClipByGlobalNorm #DEFINE_ALIAS from .clip import GradientClipByNorm #DEFINE_ALIAS from .clip import GradientClipByValue #DEFINE_ALIAS -- GitLab