@@ -124,6 +124,11 @@ def test_qnn_backend_adaptive_avg_pool2d(self):
124124 sample_input = (torch .randn (1 , 512 , 7 , 7 ),)
125125 self .lower_module_and_test_output (module , sample_input )
126126
127+ def test_qnn_backend_alias (self ):
128+ module = Alias () # noqa: F405
129+ sample_input = (torch .randn (1 , 10 ),)
130+ self .lower_module_and_test_output (module , sample_input )
131+
127132 def test_qnn_backend_amax (self ):
128133 modules = [AMax (dim = 1 , keepdim = False ), AMax (dim = 1 , keepdim = True )] # noqa: F405
129134 sample_input = (torch .randn (4 , 4 ),)
@@ -1162,6 +1167,12 @@ def test_qnn_backend_adaptive_avg_pool2d(self):
11621167 module = self .get_qdq_module (module , sample_input )
11631168 self .lower_module_and_test_output (module , sample_input )
11641169
1170+ def test_qnn_backend_alias (self ):
1171+ module = Alias () # noqa: F405
1172+ sample_input = (torch .randn (1 , 10 ),)
1173+ module = self .get_qdq_module (module , sample_input )
1174+ self .lower_module_and_test_output (module , sample_input )
1175+
11651176 def test_qnn_backend_amax (self ):
11661177 modules = [AMax (dim = 1 , keepdim = False ), AMax (dim = 1 , keepdim = True )] # noqa: F405
11671178 sample_input = (torch .randn (4 , 4 ),)
0 commit comments