@@ -843,6 +843,11 @@ def test_qnn_backend_softmax(self):
843843 sample_input = (torch .randn ([1 , 4 , 8 , 8 ]),)
844844 self .lower_module_and_test_output (module , sample_input )
845845
846+ def test_qnn_backend_squared_relu (self ):
847+ module = SquaredReLU () # noqa: F405
848+ sample_input = (torch .randn ([2 , 5 , 1 , 3 ]),)
849+ self .lower_module_and_test_output (module , sample_input )
850+
846851 def test_qnn_backend_squeeze (self ):
847852 module = Squeeze () # noqa: F405
848853 sample_input = (torch .randn ([1 , 3 , 3 ]),)
@@ -2001,6 +2006,12 @@ def test_qnn_backend_softmax(self):
20012006 module = self .get_qdq_module (module , sample_input )
20022007 self .lower_module_and_test_output (module , sample_input )
20032008
2009+ def test_qnn_backend_squared_relu (self ):
2010+ module = SquaredReLU () # noqa: F405
2011+ sample_input = (torch .randn ([2 , 5 , 1 , 3 ]),)
2012+ module = self .get_qdq_module (module , sample_input )
2013+ self .lower_module_and_test_output (module , sample_input )
2014+
20042015 def test_qnn_backend_squeeze (self ):
20052016 module = Squeeze () # noqa: F405
20062017 sample_input = (torch .randn ([1 , 3 , 3 ]),)
@@ -3642,7 +3653,7 @@ def test_efficientSAM(self):
36423653 self .skipTest ("missing required envs" )
36433654 cmds = [
36443655 "python" ,
3645- f"{ self .executorch_root } /examples/qualcomm/oss_scripts/efficientSAM.py" ,
3656+ f"{ self .executorch_root } /examples/qualcomm/oss_scripts/efficientSAM/efficientSAM .py" ,
36463657 "--dataset" ,
36473658 self .image_dataset ,
36483659 "--artifact" ,
0 commit comments