Skip to content

Conversation

@chmjkb
Copy link
Collaborator

@chmjkb chmjkb commented Dec 5, 2024

This PR fixes the issue in iOS ExecuTorch bindings where if the model returned multiple output arrays, only the first one was considered.

Description

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update (improves or adds clarity to existing documentation)

Tested on

  • iOS
  • Android

Testing instructions

Screenshots

Related issues

Checklist

  • I have performed a self-review of my code
  • I have commented my code, particularly in hard-to-understand areas
  • I have updated the documentation accordingly
  • My changes generate no new warnings

Additional notes

@chmjkb chmjkb marked this pull request as draft December 5, 2024 10:23
@chmjkb chmjkb changed the title fix: Change iOS native bindings so they return an array of outputs in… fix: Change iOS native bindings so they return an array of outputs Dec 5, 2024
@chmjkb chmjkb assigned mkopcins and unassigned mkopcins Dec 5, 2024
@chmjkb chmjkb requested a review from mkopcins December 5, 2024 12:02
@chmjkb chmjkb marked this pull request as ready for review December 5, 2024 12:02
@chmjkb chmjkb requested a review from mkopcins December 6, 2024 12:19
@chmjkb chmjkb merged commit 0be2992 into main Dec 9, 2024
2 checks passed
@chmjkb chmjkb deleted the @chmjkb/ios-bindings-multiple-outputs branch December 9, 2024 08:45
mkopcins pushed a commit that referenced this pull request Oct 15, 2025
This PR fixes the issue in iOS ExecuTorch bindings where if the model
returned multiple output arrays, only the first one was considered.

## Description
<!-- Provide a concise and descriptive summary of the changes
implemented in this PR. -->

### Type of change
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Documentation update (improves or adds clarity to existing
documentation)

### Tested on
- [x] iOS
- [ ] Android

### Testing instructions
<!-- Provide step-by-step instructions on how to test your changes.
Include setup details if necessary. -->

### Screenshots
<!-- Add screenshots here, if applicable -->

### Related issues
<!-- Link related issues here using #issue-number -->

### Checklist
- [x] I have performed a self-review of my code
- [x] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly
- [ ] My changes generate no new warnings

### Additional notes
<!-- Include any additional information, assumptions, or context that
reviewers might need to understand this PR. -->
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.

4 participants