提交 36da940b 编写于 作者: X Xin Pan

clean more

test=develop
上级 47ea2534
......@@ -235,8 +235,7 @@ class BlockGuardWithCompletion(BlockGuard):
def __init__(self, rnn):
if not isinstance(rnn, StaticRNN):
raise TypeError(
"BlockGuardWithCompletion takes a StaticRNN or ParallelDo")
raise TypeError("BlockGuardWithCompletion takes a StaticRNN")
super(BlockGuardWithCompletion, self).__init__(rnn.helper.main_program)
self.rnn = rnn
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册