Shared Weights Embedding Layer (Stack / Unstack)

i want to get a model nearly like your test case:

my question: ist every unstack vertex like a pop operation to the given stack. i would like to merge every result from the embedded layer to one big output, which goes to one single target layer.

addVertex("unstack1", new UnstackVertex(0, 2),"embedded")
addVertex("unstack2", new UnstackVertex(0, 2),"embedded")
addVertex("merge", new MergeVertex(), "unstack1","unstack2")

Best regards