Skip to content

[Relax][Frontend] Add missing frontend operators: ONNX Swish/ReverseSequence and TFlite DYNAMIC_UPDATE_SLICE - #20746

Open
Asthenia0412 wants to merge 1 commit into
apache:mainfrom
Asthenia0412:feat/relax-frontend-op-coverage
Open

Asthenia0412 wants to merge 1 commit into
apache:mainfrom
Asthenia0412:feat/relax-frontend-op-coverage

Conversation

@Asthenia0412

Copy link
Copy Markdown

Background

Issues #20124 and #19412 track missing operator coverage.

Solution

ONNX: Added Swish and ReverseSequence handlers.
TFlite: Added DYNAMIC_UPDATE_SLICE handler.

Testing

Syntax validation passed. Full runtime requires TVM C++ build.

…equence and TFlite DYNAMIC_UPDATE_SLICE

ONNX frontend (issue apache#20124):
- Add Swish handler: x * sigmoid(beta * x), delegates to R.nn.silu when beta == 1.0
- Add ReverseSequence handler: maps to relax.op.reverse_sequence with time_axis/batch_axis attrs
- CastLike and GroupNormalization handlers were already present

TFlite frontend (issue apache#19412):
- Add native DYNAMIC_UPDATE_SLICE handler (op code 151): builds scatter_nd index grid from constant or runtime start tensor
- UNSORTED_SEGMENT_SUM and UNSORTED_SEGMENT_MAX were already present via shared _convert_segment_op path
@Asthenia0412
Asthenia0412 force-pushed the feat/relax-frontend-op-coverage branch from cfdba4b to f1a5c79 Compare October 17, 2026 01:24

This branch has not been deployed

No deployments
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