-
Notifications
You must be signed in to change notification settings - Fork 74.5k
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
TFLite's max operator has wrong broadcasting behavior #57759
Comments
Hi @Co1lin ! Thank you! |
Hi, thank you for the reply! Since the documentation of maximum also notes that "Note that maximum supports broadcast semantics for x and y" which means numpy style broadcasting is supported, it's better if TFLite can produce the same results as numpy and TF. |
Ok @Co1lin ! @sachinprasadhs ! Thank you! |
@mohantym @sachinprasadhs It seems this bug only occurs when one of the arguments in max is |
Hi, Thank you for opening this issue. Since this issue has been open for a long time, the code/debug information for this issue may not be relevant with the current state of the code base. The TFLite team is constantly improving the framework by fixing bugs and adding new features. We suggest you try the latest TensorFlow version with the latest compatible hardware configuration which could potentially resolve the issue. If you are still facing the issue, please create a new GitHub issue with your latest findings, with all the debugging information which could help us investigate. Please follow the release notes to stay up to date with the latest developments which are happening in the TFLite space. |
This issue is stale because it has been open for 7 days with no activity. It will be closed if no further activity occurs. Thank you. |
This issue was closed because it has been inactive for 7 days since being marked as stale. Please reopen if you'd like to work on this further. |
1. System information
2. Code
Provide code to help us reproduce your issues using one of the following options:
Option A: Reference colab notebooks
https://colab.research.google.com/drive/1SWl6-cWwk2zRkiNYifUXtzojSz_uUCxg?usp=sharing
Option B: Paste your code here or provide a link to a custom end-to-end colab
3. Failure after conversion
After converting to TFLite, the model produces tensor with wrong shape. This is inconsistent with normal TF runtime, and numpy behavior.
The text was updated successfully, but these errors were encountered: