提交 1f11f773 编写于 作者: F fengjiayi 提交者: Yu Yang

Fix a bug in sequence_pool layer (#5290)

* Fix bug

* update
上级 0885de47
......@@ -357,7 +357,7 @@ def sequence_pool(input, pool_type, **kwargs):
raise ValueError("Unknown pool_type: '%s'. It can only be %s.",
str(pool_type), " ".join(ENUM_POOL_TYPE))
helper = LayerHelper('sequence_pool', **kwargs)
helper = LayerHelper('sequence_pool', input=input, **kwargs)
dtype = helper.input_dtype()
pool_out = helper.create_tmp_variable(dtype)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册