Make it possible to postpone setting the layer name for a memory.
The reason for adding the function is exemplified in the following hypothetical code: mem = memory(name=None, size=256) hidden = fc_layer(input=mem) state = hidden + x mem.set_input(state) In the above code segment, it would be very annoying if we require the user to provide the name at memory() call because the layer name of state is automatically generated and is not easy to set it. Change-Id: I918bf1d3d5c26addd88a6f7021e98b3e0e9df494
Showing
想要评论请 注册 或 登录