提交 bb66f243 编写于 作者: Q qiaolongfei

remove debug code

上级 f9e6aa2c
...@@ -225,7 +225,6 @@ class MemoryV2(WithExtraParent): ...@@ -225,7 +225,6 @@ class MemoryV2(WithExtraParent):
real_size = size() real_size = size()
else: else:
real_size = size real_size = size
print(real_size)
args['size'] = real_size args['size'] = real_size
return conf_helps.memory(name=self.name, **args) return conf_helps.memory(name=self.name, **args)
...@@ -471,7 +470,6 @@ def recurrent_group(step, input, name=None): ...@@ -471,7 +470,6 @@ def recurrent_group(step, input, name=None):
static_inputs = filter(lambda x: isinstance(x, StaticInputV2), input) static_inputs = filter(lambda x: isinstance(x, StaticInputV2), input)
for static_input in static_inputs: for static_input in static_inputs:
mem_name = "__%s_memory__" % static_input.input.name mem_name = "__%s_memory__" % static_input.input.name
print memory
mem = memory( mem = memory(
name=mem_name, name=mem_name,
is_seq=static_input.is_seq, is_seq=static_input.is_seq,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册