From bf6fd47027346dd3cc8d8f2b9a98c8321ca022d2 Mon Sep 17 00:00:00 2001 From: qiaolongfei Date: Mon, 10 Apr 2017 11:34:18 +0800 Subject: [PATCH] modify setup.py.in and remove unused code --- python/paddle/v2/layer.py | 3 --- python/setup.py.in | 3 ++- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/python/paddle/v2/layer.py b/python/paddle/v2/layer.py index 38fc4d000cc..03476973dbe 100644 --- a/python/paddle/v2/layer.py +++ b/python/paddle/v2/layer.py @@ -389,9 +389,6 @@ def recurrent_group(step, input, name=None): non_static_inputs = filter(lambda x: not isinstance(x, StaticInputV2), input) - static_inputs = filter(lambda x: isinstance(x, StaticInputV2), input) - static_inputs = [static_input.input for static_input in static_inputs] - actual_input = [ RecurrentLayerInput( recurrent_name=name, diff --git a/python/setup.py.in b/python/setup.py.in index 4ac35e3b8d6..b779e1a2988 100644 --- a/python/setup.py.in +++ b/python/setup.py.in @@ -8,7 +8,8 @@ packages=['paddle', 'paddle.v2', 'paddle.v2.dataset', 'paddle.v2.reader', - 'paddle.v2.plot'] + 'paddle.v2.plot', + 'paddle.v2.layers'] setup(name='paddle', version='${PADDLE_VERSION}', -- GitLab