提交 5470c29d 编写于 作者: L lujun

fix merge for move dir, fix utest error, test=develop

上级 d4d5052f
...@@ -1560,8 +1560,8 @@ class SequenceConv(layers.Layer): ...@@ -1560,8 +1560,8 @@ class SequenceConv(layers.Layer):
bias_attr=None, bias_attr=None,
param_attr=None, param_attr=None,
act=None): act=None):
assert not _in_dygraph_mode(), \ assert not _in_dygraph_mode(
"SequenceConv is not supported by dynamic graph mode yet!" ), "SequenceConv is not supported by dynamic graph mode yet!"
super(SequenceConv, self).__init__(name_scope) super(SequenceConv, self).__init__(name_scope)
self._num_filters = num_filters self._num_filters = num_filters
self._filter_size = filter_size self._filter_size = filter_size
...@@ -1600,8 +1600,8 @@ class RowConv(layers.Layer): ...@@ -1600,8 +1600,8 @@ class RowConv(layers.Layer):
future_context_size, future_context_size,
param_attr=None, param_attr=None,
act=None): act=None):
assert not _in_dygraph_mode(), \ assert not _in_dygraph_mode(
"RowConv is not supported by dynamic graph mode yet!" ), "RowConv is not supported by dynamic graph mode yet!"
super(RowConv, self).__init__(name_scope) super(RowConv, self).__init__(name_scope)
self._act = act self._act = act
self._param_attr = param_attr self._param_attr = param_attr
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册