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

assert num == 0 in split #23

Closed
OuHangKresnik opened this issue Oct 25, 2019 · 1 comment
Closed

assert num == 0 in split #23

OuHangKresnik opened this issue Oct 25, 2019 · 1 comment

Comments

@OuHangKresnik
Copy link
Contributor

In split.cc:137 parent.divide(left, right, curPos); the assertion is broken.

I have a temp fix to make:

SplitInfo parent = inputs[0].split[axis], left, right;
parent.num = inputs[0].dim[axis];

But the overall logic should also be checked as well in initialization of tensor.split field

@jiazhihao
Copy link
Owner

This should be fixed by commit 68b24d3.

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

No branches or pull requests

2 participants