From 96174447159456a68a9eb5e1c09a1cb4cee176b6 Mon Sep 17 00:00:00 2001 From: lijunlin Date: Mon, 26 Jun 2023 03:16:47 +0000 Subject: [PATCH] set skip unless 1n1d --- .../oneflow/test/modules/test_global_higher_derivative_pool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/oneflow/test/modules/test_global_higher_derivative_pool.py b/python/oneflow/test/modules/test_global_higher_derivative_pool.py index 7247cda758a..123e9ffd04f 100644 --- a/python/oneflow/test/modules/test_global_higher_derivative_pool.py +++ b/python/oneflow/test/modules/test_global_higher_derivative_pool.py @@ -116,7 +116,7 @@ def _test_adaptive_pool_grad_grad_impl(test_case, placement, ndim, mode): _check_equal(test_case, ddx.pytorch, ddx.oneflow, "ddx") _check_equal(test_case, ddy.pytorch, ddy.oneflow, "ddy") - +@flow.unittest.skip_unless_1n1d() class TestGlobalPoolHigherDerivative(flow.unittest.TestCase): @globaltest def test_max_pool_1d_grad_grad(test_case):