From c02474d9537fde5dd008207f09d1cf5bc21672c2 Mon Sep 17 00:00:00 2001 From: phlrain Date: Fri, 22 Mar 2019 16:05:10 +0000 Subject: [PATCH] add optimizer var name; test=release/1.3 --- python/paddle/fluid/optimizer.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/optimizer.py b/python/paddle/fluid/optimizer.py index 43d83b0f1f7..7b51e5d09f8 100644 --- a/python/paddle/fluid/optimizer.py +++ b/python/paddle/fluid/optimizer.py @@ -70,6 +70,7 @@ class Optimizer(object): # {accum_name : { paramter_name : accumulator_for_parameter, ...}, ...} self._accumulators = defaultdict(lambda: dict()) self.helper = None + self._opti_name_list = [] def get_opti_var_name_list(self): -- GitLab