-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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: x
in 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.