RecLayer multiple inputs via explicit unstacking#552
Conversation
|
Related to #649 the question is, whether the additional inputs should be considered for the sequence length (dynamic vs. fixed) in |
I'm not sure I understand. You mean whether But even when it is hardcoded to Or what do you mean by "fixed length"? The length can still be dynamic in any case (of shape [B]). The number of iterations ( I think I would prefer to not have too much magic here. This layer ( |
8bdca4e to
bf39c79
Compare
bf39c79 to
3f179eb
Compare
|
Note on the layer name: I considered several options:
I did not want to have In the end, I choose |
Instead of using
from: xin the RecLayer, which gets unstacked (via TensorArray) such that inside the rec loop you getx[i], here is some approach to make this unstacking explicit. This would then also support multiple inputs to the RecLayer.