diff --git a/python/paddle/fluid/tests/unittests/CMakeLists.txt b/python/paddle/fluid/tests/unittests/CMakeLists.txt index 3dddbdefbbe61af9ce971de55da3a5f39213f0dd..4c38a4545e56e0970b08b3968ff118e0f6f03588 100755 --- a/python/paddle/fluid/tests/unittests/CMakeLists.txt +++ b/python/paddle/fluid/tests/unittests/CMakeLists.txt @@ -823,7 +823,6 @@ endif() add_subdirectory(sequence) add_subdirectory(dygraph_to_static) add_subdirectory(rnn) -add_subdirectory(autograd) add_subdirectory(distribution) add_subdirectory(prim) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 660443ad2eff3884439df27dde36c8bdab499a1f..8046f70ce6b68001af7062eaced5f1719259d032 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -55,7 +55,7 @@ endfunction() if(WITH_TESTING) # add_subdirectory(asp) # add_subdirectory(auto_parallel) - # add_subdirectory(autograd) + add_subdirectory(autograd) add_subdirectory(book) add_subdirectory(collective) # add_subdirectory(composite_ops) diff --git a/python/paddle/fluid/tests/unittests/autograd/CMakeLists.txt b/test/autograd/CMakeLists.txt similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/CMakeLists.txt rename to test/autograd/CMakeLists.txt diff --git a/python/paddle/fluid/tests/unittests/autograd/config.py b/test/autograd/config.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/config.py rename to test/autograd/config.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_autograd_functional_dynamic.py b/test/autograd/test_autograd_functional_dynamic.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_autograd_functional_dynamic.py rename to test/autograd/test_autograd_functional_dynamic.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_autograd_functional_prim.py b/test/autograd/test_autograd_functional_prim.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_autograd_functional_prim.py rename to test/autograd/test_autograd_functional_prim.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_autograd_functional_static.py b/test/autograd/test_autograd_functional_static.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_autograd_functional_static.py rename to test/autograd/test_autograd_functional_static.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_jvp_and_transpose.py b/test/autograd/test_jvp_and_transpose.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_jvp_and_transpose.py rename to test/autograd/test_jvp_and_transpose.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_minimize.py b/test/autograd/test_minimize.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_minimize.py rename to test/autograd/test_minimize.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_orig2prim.py b/test/autograd/test_orig2prim.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_orig2prim.py rename to test/autograd/test_orig2prim.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_prim2orig.py b/test/autograd/test_prim2orig.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_prim2orig.py rename to test/autograd/test_prim2orig.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_primapi.py b/test/autograd/test_primapi.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_primapi.py rename to test/autograd/test_primapi.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_primops.py b/test/autograd/test_primops.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_primops.py rename to test/autograd/test_primops.py diff --git a/python/paddle/fluid/tests/unittests/autograd/test_transform.py b/test/autograd/test_transform.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/test_transform.py rename to test/autograd/test_transform.py diff --git a/python/paddle/fluid/tests/unittests/autograd/utils.py b/test/autograd/utils.py similarity index 100% rename from python/paddle/fluid/tests/unittests/autograd/utils.py rename to test/autograd/utils.py