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

[DRAFT][luci/service] Do not infer when reshape tensor has unknown dimension #2

Closed
wants to merge 1 commit into from

Conversation

jongwonyang
Copy link
Owner

@jongwonyang jongwonyang commented Sep 19, 2024

This commit fixes the shape inference logic for the reshape operation.

  • This is the 3rd step in supporting dynamic shape inference for the reshape operation.
  • If there is any unknown dimension in the reshape's tensor, the output shape will not be inferred.
    • (unknown remains unknown)
  • This behavior is based on TFLite's implementation.

Draft: Samsung#13999
Related: Samsung#13927

ONE-DCO-1.0-Signed-off-by: Jongwon Yang [email protected]

This commit fixes shape inference logic of reshape operation:
- When there is any unknown dimension in reshape's `tensor`, the output
  shape is not infered.
- This is based on tflite's behavior.

ONE-DCO-1.0-Signed-off-by: Jongwon Yang <[email protected]>
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.

1 participant