1717@pytest .mark .parametrize ("shape" , FEATURE_DROPOUT_SHAPES )
1818@pytest .mark .parametrize ("p" , [0.3 , 0.5 , 0.7 ])
1919@pytest .mark .parametrize ("dtype" , FLOAT_DTYPES )
20- def test_accuracy_feature_dropout (shape , p , dtype ):
20+ def test_feature_dropout (shape , p , dtype ):
2121 inp = torch .randn (shape , dtype = dtype , device = flag_gems .device )
2222 with flag_gems .use_gems ():
2323 res_out = torch .feature_dropout (inp , p , True )
@@ -49,7 +49,7 @@ def test_accuracy_feature_dropout(shape, p, dtype):
4949@pytest .mark .feature_dropout
5050@pytest .mark .parametrize ("shape" , FEATURE_DROPOUT_SHAPES )
5151@pytest .mark .parametrize ("dtype" , FLOAT_DTYPES )
52- def test_accuracy_feature_dropout_no_train (shape , dtype ):
52+ def test_feature_dropout_no_train (shape , dtype ):
5353 inp = torch .randn (shape , dtype = dtype , device = flag_gems .device )
5454 with flag_gems .use_gems ():
5555 res_out = torch .feature_dropout (inp , 0.5 , False )
@@ -59,7 +59,7 @@ def test_accuracy_feature_dropout_no_train(shape, dtype):
5959@pytest .mark .feature_dropout
6060@pytest .mark .parametrize ("shape" , FEATURE_DROPOUT_SHAPES )
6161@pytest .mark .parametrize ("dtype" , FLOAT_DTYPES )
62- def test_accuracy_feature_dropout_p_zero (shape , dtype ):
62+ def test_feature_dropout_p_zero (shape , dtype ):
6363 inp = torch .randn (shape , dtype = dtype , device = flag_gems .device )
6464 with flag_gems .use_gems ():
6565 res_out = torch .feature_dropout (inp , 0.0 , True )
@@ -69,7 +69,7 @@ def test_accuracy_feature_dropout_p_zero(shape, dtype):
6969@pytest .mark .feature_dropout
7070@pytest .mark .parametrize ("shape" , FEATURE_DROPOUT_SHAPES )
7171@pytest .mark .parametrize ("dtype" , FLOAT_DTYPES )
72- def test_accuracy_feature_dropout_p_one (shape , dtype ):
72+ def test_feature_dropout_p_one (shape , dtype ):
7373 inp = torch .randn (shape , dtype = dtype , device = flag_gems .device )
7474 with flag_gems .use_gems ():
7575 res_out = torch .feature_dropout (inp , 1.0 , True )
@@ -80,7 +80,7 @@ def test_accuracy_feature_dropout_p_one(shape, dtype):
8080@pytest .mark .parametrize ("shape" , FEATURE_DROPOUT_SHAPES )
8181@pytest .mark .parametrize ("p" , [0.3 , 0.5 ])
8282@pytest .mark .parametrize ("dtype" , FLOAT_DTYPES )
83- def test_accuracy_feature_dropout_inplace (shape , p , dtype ):
83+ def test_feature_dropout_inplace (shape , p , dtype ):
8484 inp = torch .randn (shape , dtype = dtype , device = flag_gems .device )
8585 inp_clone = inp .clone ()
8686 with flag_gems .use_gems ():
0 commit comments