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

[TFLite][Frontend] Generate name when tensor name is missing #14819

Merged
merged 4 commits into from May 15, 2023

Conversation

ashutosh-arm
Copy link
Contributor

After upgrade to TFLite 2.6, some networks have missing tensor names.
This commit generates names with prefix tvmgen_ from TFLite frontend.

cc @leandron @lhutton1 @NicolaLancellotti

@tvm-bot
Copy link
Collaborator

tvm-bot commented May 10, 2023

Thanks for contributing to TVM! Please refer to the contributing guidelines https://tvm.apache.org/docs/contribute/ for useful information and tips. Please request code reviews from Reviewers by @-ing them in a comment.

Generated by tvm-bot

Copy link
Contributor

@lhutton1 lhutton1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! An awkward fix considering the current TFLite converter in CI doesn't seem to follow the same behaviour

python/tvm/relay/frontend/tflite.py Outdated Show resolved Hide resolved
python/tvm/relay/frontend/tflite.py Show resolved Hide resolved
After upgrade to TFLite 2.6, some networks have missing tensor names.
This commit generates names with prefix tvmgen_ from TFLite frontend.
Added external weblink from network to AWS S3
@lhutton1 lhutton1 merged commit 58434d1 into apache:main May 15, 2023
18 checks passed
@lhutton1
Copy link
Contributor

Thanks @ashutosh-arm!

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 this pull request may close these issues.

None yet

3 participants