Skip to content

[Frontend][TFLite] Add TILE operator tests and edge cases#19400

Merged
tlopex merged 1 commit intoapache:mainfrom
rknastenka:tile
Apr 13, 2026
Merged

[Frontend][TFLite] Add TILE operator tests and edge cases#19400
tlopex merged 1 commit intoapache:mainfrom
rknastenka:tile

Conversation

@rknastenka
Copy link
Copy Markdown
Contributor

@rknastenka rknastenka commented Apr 13, 2026

This PR adds non-quantized TILE coverage in test_frontend_tflite.py.
Related to #18971

What is included

  1. One explicit Expected IR structural test for TILE
  2. Parametrized TILE conversion tests covering:
  • baseline 2D and higher-rank cases
  • identity/no-op tiling
  • larger repeat factors
  • int32 non-quantized dtype path

Note: SHAPE and RANGE are excluded from this PR and will be handled separately because there's a related a bug in the frontend for them

Validation

pytest test_frontend_tflite.py -v -k "test_tile_ir or test_tile"
image

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds unit tests for the TFLite TILE operator conversion in the Relax frontend. It includes a structural IR check test and a parameterized test covering various input shapes and data types. I have no feedback to provide.

Copy link
Copy Markdown
Member

@tlopex tlopex left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@tlopex tlopex merged commit 60bb59d into apache:main Apr 13, 2026
10 checks passed
@rknastenka rknastenka deleted the tile branch May 3, 2026 14:15
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.

2 participants