From 4f3acb392ffa04557be16e5b9634f204b4cfa8ba Mon Sep 17 00:00:00 2001 From: AIFollowers <42403163+AIFollowers@users.noreply.github.com> Date: Fri, 21 Jun 2019 11:14:39 +0800 Subject: [PATCH] fix BilinearInitializer doc (#18242) --- python/paddle/fluid/initializer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/initializer.py b/python/paddle/fluid/initializer.py index 0deafaff1b..ce55237d07 100644 --- a/python/paddle/fluid/initializer.py +++ b/python/paddle/fluid/initializer.py @@ -712,7 +712,7 @@ class BilinearInitializer(Initializer): factor = 2 C = 2 - w_attr = fluid.initializer.ParamAttr( + w_attr = fluid.param_attr.ParamAttr( learning_rate=0., regularizer=fluid.regularizer.L2Decay(0.), initializer=fluid.initializer.Bilinear()) -- GitLab