Skip to content
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

WriteToArrayOp need to support empty input #6029

Closed
JiayiFeng opened this issue Nov 29, 2017 · 0 comments · Fixed by #6030
Closed

WriteToArrayOp need to support empty input #6029

JiayiFeng opened this issue Nov 29, 2017 · 0 comments · Fixed by #6030
Assignees

Comments

@JiayiFeng
Copy link
Collaborator

In Dynamic RNN, we need to shrink the memory according to the input of the next time step, and the shrank result will be written to the memory array through WriteToArrayOp. However, if the current step is the last one, there will be no such next input and the shrank result will be a tensor holds no memory. To handle this case, the followed WriteToArrayOp should be able to take an empty tensor as input.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant