Skip to content

Commit 0d9ce1c

Browse files
authored
Arm backend: Migrate asinh tests to TOSA 1.0 (#13045)
This fix a Arm unit tests fail caused by merged order vs test order in the TOSA 0.80.1 removal Signed-off-by: Zingo Andersen <[email protected]>
1 parent 439bb6c commit 0d9ce1c

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

backends/arm/test/ops/test_asinh.py

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99

1010
from executorch.backends.arm.test import common
1111
from executorch.backends.arm.test.tester.test_pipeline import (
12-
EthosU55PipelineBI,
13-
EthosU85PipelineBI,
14-
TosaPipelineBI,
15-
TosaPipelineMI,
12+
EthosU55PipelineINT,
13+
EthosU85PipelineINT,
14+
TosaPipelineFP,
15+
TosaPipelineINT,
1616
)
1717

1818
input_t = Tuple[torch.Tensor] # Input x
@@ -36,8 +36,8 @@ def forward(self, x):
3636

3737

3838
@common.parametrize("test_data", test_data_suite)
39-
def test_asin_tosa_MI(test_data: Tuple):
40-
pipeline = TosaPipelineMI[input_t](
39+
def test_asinh_tosa_FP(test_data: Tuple):
40+
pipeline = TosaPipelineFP[input_t](
4141
Asinh(),
4242
(test_data(),),
4343
aten_op,
@@ -47,8 +47,8 @@ def test_asin_tosa_MI(test_data: Tuple):
4747

4848

4949
@common.parametrize("test_data", test_data_suite)
50-
def test_asin_tosa_BI(test_data: Tuple):
51-
pipeline = TosaPipelineBI[input_t](
50+
def test_asinh_tosa_INT(test_data: Tuple):
51+
pipeline = TosaPipelineINT[input_t](
5252
Asinh(),
5353
(test_data(),),
5454
aten_op=[],
@@ -59,8 +59,8 @@ def test_asin_tosa_BI(test_data: Tuple):
5959

6060
@common.parametrize("test_data", test_data_suite)
6161
@common.XfailIfNoCorstone300
62-
def test_asin_u55_BI(test_data: Tuple):
63-
pipeline = EthosU55PipelineBI[input_t](
62+
def test_asinh_u55_INT(test_data: Tuple):
63+
pipeline = EthosU55PipelineINT[input_t](
6464
Asinh(),
6565
(test_data(),),
6666
aten_ops=[],
@@ -70,8 +70,8 @@ def test_asin_u55_BI(test_data: Tuple):
7070

7171
@common.parametrize("test_data", test_data_suite)
7272
@common.XfailIfNoCorstone320
73-
def test_asin_u85_BI(test_data: Tuple):
74-
pipeline = EthosU85PipelineBI[input_t](
73+
def test_asinh_u85_INT(test_data: Tuple):
74+
pipeline = EthosU85PipelineINT[input_t](
7575
Asinh(),
7676
(test_data(),),
7777
aten_ops=[],

0 commit comments

Comments
 (0)