提交 16075ce2 编写于 作者: R ranqiu

code style

上级 ee46d363
...@@ -144,14 +144,14 @@ def memory_enhanced_decoder(input, target, initial_state, source_context, size, ...@@ -144,14 +144,14 @@ def memory_enhanced_decoder(input, target, initial_state, source_context, size,
name="bounded_memory", name="bounded_memory",
mem_slot_size=size, mem_slot_size=size,
boot_layer=bounded_memory_init, boot_layer=bounded_memory_init,
initial_weight = bounded_memory_weight_init, initial_weight=bounded_memory_weight_init,
readonly=False, readonly=False,
enable_interpolation=True) enable_interpolation=True)
unbounded_memory = ExternalMemory( unbounded_memory = ExternalMemory(
name="unbounded_memory", name="unbounded_memory",
mem_slot_size=size * 2, mem_slot_size=size * 2,
boot_layer=unbounded_memory_init, boot_layer=unbounded_memory_init,
initial_weight = unbounded_memory_weight_init, initial_weight=unbounded_memory_weight_init,
readonly=True, readonly=True,
enable_interpolation=False) enable_interpolation=False)
# write bounded memory # write bounded memory
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册