diff --git a/python/paddle/v2/layer.py b/python/paddle/v2/layer.py index 38fc4d000cc8680c8fcba870f2ea24c3188431b8..03476973dbeb83261f8ae22c5bf42670ed501c7a 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 4ac35e3b8d6049a9024a6e0c9bb6804900f82197..b779e1a2988d3f454b9bc6ce2986fff7f2161c25 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}',