Skip to content

[RNE Rewrite] feat: add semantic segmentation task#1275

Draft
barhanc wants to merge 3 commits into
rne-rewritefrom
@bh/semantic-segmentation
Draft

[RNE Rewrite] feat: add semantic segmentation task#1275
barhanc wants to merge 3 commits into
rne-rewritefrom
@bh/semantic-segmentation

Conversation

@barhanc

@barhanc barhanc commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Description

  • Adds semantic segmentation task and required native operations for it.
  • Adds computer-vision example app screen for semantic segmentation.
  • Fixes the performance regression in the argmax introduced in [RNE Rewrite] feat!: add classification task and common utilities for manipulating tensors in CV tasks #1264. The initial implementation from PoC was more efficient for the default axis=-1 case as the internal loop was over contiguous elements. The linked PR changed it so that it was more efficient for axis=0 case, however since the default is axis=-1 this caused a performance regression in the semantic segmentation task.

Introduces a breaking change?

  • Yes
  • No

Type of change

  • Bug fix (change which fixes an issue)
  • New feature (change which adds functionality)
  • Documentation update (improves or adds clarity to existing documentation)
  • Other (chores, tests, code style improvements etc.)

Tested on

  • iOS
  • Android

Testing instructions

  • Build the computer-vision example app.
  • Test the semantic segmentation screen.

Screenshots

Related issues

Closes #1242

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

@barhanc barhanc self-assigned this Jun 22, 2026
@barhanc barhanc added refactoring feature PRs that implement a new feature labels Jun 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature PRs that implement a new feature refactoring

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[RNE Rewrite] CV - add semantic segmentation pipeline implementation

1 participant