From 999365149d2251a4c3ecf85453ce161c75ad4781 Mon Sep 17 00:00:00 2001 From: chengduo Date: Wed, 27 Mar 2019 03:07:05 -0500 Subject: [PATCH] Add from six.moves import reduce (#16435) test=develop --- python/paddle/fluid/layers/tensor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/paddle/fluid/layers/tensor.py b/python/paddle/fluid/layers/tensor.py index a18e5b6a9c..ef90638c72 100644 --- a/python/paddle/fluid/layers/tensor.py +++ b/python/paddle/fluid/layers/tensor.py @@ -13,7 +13,7 @@ # limitations under the License. from __future__ import print_function - +from six.moves import reduce from ..layer_helper import LayerHelper from ..param_attr import ParamAttr from ..framework import convert_np_dtype_to_dtype_ -- GitLab