-
Notifications
You must be signed in to change notification settings - Fork 37
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
onnx2c/src/nodes/cast.cc:36: virtual void toC::Cast::resolve(): Assertion `false' failed. #26
Comments
What is happening here is, as you write in the title of this issue, you are hitting this error. This is an unimplemented feature in onnx2c. The entire concept of a cast operation should be folded into the output of the predecessor node of the cast, as having a separate node just means a redundant copy of data. On the other hand, the C compiler should maybe have such an optimization pass? |
its whole stack |
@kraiskil is there any update to this error?
|
@shubham0204 sorry, no. Looking at the code at |
Might be fixed now, please re-open new issue, if not. |
Tried to compile this model https://dropmefiles.com/MkdyS
with structure
what can be wrong?
The text was updated successfully, but these errors were encountered: