From 8b62f537196685b49d25f9753169b5475b3192ee Mon Sep 17 00:00:00 2001 From: Tao Luo Date: Tue, 7 May 2019 17:17:25 +0800 Subject: [PATCH] fix nn.py lack of `import warnings` (#17249) test=develop --- python/paddle/fluid/layers/nn.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 42a9f9b0a1e..78cc4e9a1df 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -18,6 +18,7 @@ All layers just related to the neural network. from __future__ import print_function import numpy as np +import warnings import six import os import inspect -- GitLab