• X
    Make it possible to postpone setting the layer name for a memory. · 7d551dd4
    xuwei06 提交于
    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
    7d551dd4
test_rnn_group.py 1.4 KB