Skip to content

Commit 5321dd2

Browse files
committed
Arm backend: Add arange.default dummy tests
Since we use unittests for coverage on the Edge IR op set which includes arange.default, we need tests for it even though it is decomposed to indicate that it has not been missed. Signed-off-by: Adrian Lundell <[email protected]> Change-Id: I1d30b9c4824195ffd30a3d05da6213d873e2cb71
1 parent b058afb commit 5321dd2

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

backends/arm/test/ops/test_arange.py

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55

66
from typing import Callable
77

8+
import pytest
9+
810
import torch
911
from executorch.backends.arm.test import common
1012
from executorch.backends.arm.test.tester.test_pipeline import (
@@ -152,3 +154,26 @@ def test_linspace_tosa_BI(test_data: test_data_t):
152154
)
153155
pipeline.pop_stage("check.quant_nodes")
154156
pipeline.run()
157+
158+
159+
skip_str = "aten.arange.default is decomposed to aten.arange.start_step, so it will never exist in a lowered graph."
160+
161+
162+
@pytest.mark.skip(reason=skip_str)
163+
def test_arange_tosa_MI():
164+
pass
165+
166+
167+
@pytest.mark.skip(reason=skip_str)
168+
def test_arange_tosa_BI():
169+
pass
170+
171+
172+
@pytest.mark.skip(reason=skip_str)
173+
def test_arange_u55_BI():
174+
pass
175+
176+
177+
@pytest.mark.skip(reason=skip_str)
178+
def test_arange_u85_BI():
179+
pass

0 commit comments

Comments
 (0)