|
17 | 17 | @pytest.mark.parametrize("shape", FEATURE_DROPOUT_SHAPES) |
18 | 18 | @pytest.mark.parametrize("p", [0.3, 0.5, 0.7]) |
19 | 19 | @pytest.mark.parametrize("dtype", FLOAT_DTYPES) |
20 | | -def test_accuracy_feature_dropout(shape, p, dtype): |
| 20 | +def test_feature_dropout(shape, p, dtype): |
21 | 21 | inp = torch.randn(shape, dtype=dtype, device=flag_gems.device) |
22 | 22 | with flag_gems.use_gems(): |
23 | 23 | res_out = torch.feature_dropout(inp, p, True) |
@@ -49,7 +49,7 @@ def test_accuracy_feature_dropout(shape, p, dtype): |
49 | 49 | @pytest.mark.feature_dropout |
50 | 50 | @pytest.mark.parametrize("shape", FEATURE_DROPOUT_SHAPES) |
51 | 51 | @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): |
53 | 53 | inp = torch.randn(shape, dtype=dtype, device=flag_gems.device) |
54 | 54 | with flag_gems.use_gems(): |
55 | 55 | res_out = torch.feature_dropout(inp, 0.5, False) |
@@ -80,7 +80,7 @@ def test_accuracy_feature_dropout_p_one(shape, dtype): |
80 | 80 | @pytest.mark.parametrize("shape", FEATURE_DROPOUT_SHAPES) |
81 | 81 | @pytest.mark.parametrize("p", [0.3, 0.5]) |
82 | 82 | @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): |
84 | 84 | inp = torch.randn(shape, dtype=dtype, device=flag_gems.device) |
85 | 85 | inp_clone = inp.clone() |
86 | 86 | with flag_gems.use_gems(): |
|
0 commit comments