Repository navigation
Adds tflite stablehlo_case_op - #84
Merged
amrinfathima-mcw merged 2 commits intoOct 25, 2024
Merged
Conversation
amrinfathima-mcw
commented
Sep 5, 2024
Collaborator
- Adds stablehlo_case op implementation
- Adds stablehlo_case op unit tests
- Adds stablehlo_case op implementation - Adds stablehlo_case op unit tests
LukeBoyer
approved these changes
Oct 23, 2024
| STABLEHLO_RNG_BIT_GENERATOR = 204, | ||
| REDUCE_WINDOW = 205 (deprecated), | ||
| STABLEHLO_COMPOSITE = 206, // WARNING: No runtime support | ||
| STABLEHLO_CASE = 208, |
Collaborator
Author
There was a problem hiding this comment.
Okay, I'll make the necessary changes. By the way, is there a way to determine the required headers for cc file? I noticed it compiles without some headers, like tensorflow/lite/builtin_ops.h, which raises some questions.
| // See the stablehlo spec for the explanation of the attributes: | ||
| // https://github.com/openxla/stablehlo/blob/main/docs/spec.md#case | ||
| int32_t branch_subgraph_indices[TFLITE_STABLEHLO_CASE_PARAMS_MAX_BRANCHES_COUNT]; | ||
| int num_branches; |
Collaborator
There was a problem hiding this comment.
num_branches should be an unsigned type
amrinfathima-mcw
added a commit
that referenced
this pull request
Oct 25, 2024
* Adds tflite stablehlo_case_op - Adds stablehlo_case op implementation - Adds stablehlo_case op unit tests
amrinfathima-mcw
added a commit
that referenced
this pull request
Oct 25, 2024
* Adds tflite stablehlo_case_op - Adds stablehlo_case op implementation - Adds stablehlo_case op unit tests
amrinfathima-mcw
added a commit
that referenced
this pull request
Oct 25, 2024
* Adds tflite stablehlo_case_op - Adds stablehlo_case op implementation - Adds stablehlo_case op unit tests
amrinfathima-mcw
added a commit
that referenced
this pull request
Oct 25, 2024
amrinfathima-mcw
added a commit
that referenced
this pull request
Oct 30, 2024
* Adds tflite stablehlo_case_op - Adds stablehlo_case op implementation - Adds stablehlo_case op unit tests
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.