From 5832e817d541ad46fead0aa420668851ee44183c Mon Sep 17 00:00:00 2001 From: yuyang18 Date: Wed, 11 Jul 2018 16:11:28 +0800 Subject: [PATCH] Hide append_regularizer --- python/paddle/fluid/regularizer.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/python/paddle/fluid/regularizer.py b/python/paddle/fluid/regularizer.py index dac474d5ee7..53f35f5cc06 100644 --- a/python/paddle/fluid/regularizer.py +++ b/python/paddle/fluid/regularizer.py @@ -15,10 +15,7 @@ import framework from . import core -__all__ = [ - 'append_regularization_ops', 'L1Decay', 'L2Decay', 'L1DecayRegularizer', - 'L2DecayRegularizer' -] +__all__ = ['L1Decay', 'L2Decay', 'L1DecayRegularizer', 'L2DecayRegularizer'] def append_regularization_ops(parameters_and_grads, regularization=None): -- GitLab