@@ -843,6 +843,11 @@ def test_qnn_backend_softmax(self):
843
843
sample_input = (torch .randn ([1 , 4 , 8 , 8 ]),)
844
844
self .lower_module_and_test_output (module , sample_input )
845
845
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
+
846
851
def test_qnn_backend_squeeze (self ):
847
852
module = Squeeze () # noqa: F405
848
853
sample_input = (torch .randn ([1 , 3 , 3 ]),)
@@ -2001,6 +2006,12 @@ def test_qnn_backend_softmax(self):
2001
2006
module = self .get_qdq_module (module , sample_input )
2002
2007
self .lower_module_and_test_output (module , sample_input )
2003
2008
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
+
2004
2015
def test_qnn_backend_squeeze (self ):
2005
2016
module = Squeeze () # noqa: F405
2006
2017
sample_input = (torch .randn ([1 , 3 , 3 ]),)
@@ -3642,7 +3653,7 @@ def test_efficientSAM(self):
3642
3653
self .skipTest ("missing required envs" )
3643
3654
cmds = [
3644
3655
"python" ,
3645
- f"{ self .executorch_root } /examples/qualcomm/oss_scripts/efficientSAM.py" ,
3656
+ f"{ self .executorch_root } /examples/qualcomm/oss_scripts/efficientSAM/efficientSAM .py" ,
3646
3657
"--dataset" ,
3647
3658
self .image_dataset ,
3648
3659
"--artifact" ,
0 commit comments