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

Fixing reduce_op in debug mode #5557

Closed
emailweixu opened this issue Nov 10, 2017 · 0 comments · Fixed by #5565
Closed

Fixing reduce_op in debug mode #5557

emailweixu opened this issue Nov 10, 2017 · 0 comments · Fixed by #5565

Comments

@emailweixu
Copy link
Collaborator

emailweixu commented Nov 10, 2017

When the reduce_op is applied to a vector, the result is a scalar, which should be a rank-0 tensor. In the current implementation, the result is a rank-1 tensor. This causes dimension mismatch and failure of eigen_assert in debug mode

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