@@ -51,7 +51,9 @@ def test_lstm_tosa_FP():
5151 exir_op = [],
5252 use_to_edge_transform_and_lower = True ,
5353 )
54- pipeline .change_args ("run_method_and_compare_outputs" , get_test_inputs (), atol = 3e-1 )
54+ pipeline .change_args (
55+ "run_method_and_compare_outputs" , inputs = get_test_inputs (), atol = 3e-1
56+ )
5557 pipeline .run ()
5658
5759
@@ -64,7 +66,10 @@ def test_lstm_tosa_INT():
6466 use_to_edge_transform_and_lower = True ,
6567 )
6668 pipeline .change_args (
67- "run_method_and_compare_outputs" , get_test_inputs (), atol = 3e-1 , qtol = 1.0
69+ "run_method_and_compare_outputs" ,
70+ inputs = get_test_inputs (),
71+ atol = 3e-1 ,
72+ qtol = 1.0 ,
6873 )
6974 pipeline .run ()
7075
@@ -79,7 +84,10 @@ def test_lstm_u55_INT():
7984 use_to_edge_transform_and_lower = True ,
8085 )
8186 pipeline .change_args (
82- "run_method_and_compare_outputs" , get_test_inputs (), atol = 3e-1 , qtol = 1.0
87+ "run_method_and_compare_outputs" ,
88+ inputs = get_test_inputs (),
89+ atol = 3e-1 ,
90+ qtol = 1.0 ,
8391 )
8492 pipeline .run ()
8593
@@ -94,7 +102,10 @@ def test_lstm_u85_INT():
94102 use_to_edge_transform_and_lower = True ,
95103 )
96104 pipeline .change_args (
97- "run_method_and_compare_outputs" , get_test_inputs (), atol = 3e-1 , qtol = 1.0
105+ "run_method_and_compare_outputs" ,
106+ inputs = get_test_inputs (),
107+ atol = 3e-1 ,
108+ qtol = 1.0 ,
98109 )
99110 pipeline .run ()
100111
0 commit comments