Repository navigation
feat: map TFLite indices computed at run time - #130
Merged
Merged
Conversation
asteinh
commented
Oct 4, 2026
Member
- GATHER, GATHER_ND, EMBEDDING_LOOKUP and DYNAMIC_UPDATE_SLICE take their indices or start positions from an int32 model input or an ARG_MAX/ARG_MIN output, besides constants.
- A DYNAMIC_UPDATE_SLICE with run-time starts runs in TFLite's axis order, so the starts are used as they are.
- Refused by name: an index tensor feeding an operand other than indices, run-time indices computed by any operator other than ARG_MAX/ARG_MIN, and int64 run-time indices.
- Ten new corpus cases (gather, gather_nd, embedding_lookup, ArgMax feeding gather, and dynamic_update_slice with starts that reach past both ends), int8 and float32, match TFLite Micro byte for byte, untiled and at the 256-byte budget.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.