Move gradient_checker_test.py under ./v1_compat_tests/

gradient_checker.py is v1 testing util and deprecated by gradient_checker_v2.py

PiperOrigin-RevId: 324128680
Change-Id: I2b9b72bb37297c8c73e7560d3d23186c306a8a29
This commit is contained in:
Kibeom Kim 2020-07-30 18:49:16 -07:00 committed by TensorFlower Gardener
parent fafe48d816
commit e1d3f777be
3 changed files with 23 additions and 17 deletions

View File

@ -4947,23 +4947,6 @@ cuda_py_test(
],
)
cuda_py_test(
name = "gradient_checker_test",
size = "medium",
srcs = ["ops/gradient_checker_test.py"],
python_version = "PY3",
deps = [
":array_ops",
":client_testlib",
":framework_for_generated_wrappers",
":math_ops",
":nn_grad",
":nn_ops",
":platform",
"//third_party/py/numpy",
],
)
py_test(
name = "op_selector_test",
srcs = ["ops/op_selector_test.py"],

View File

@ -0,0 +1,23 @@
load("//tensorflow:tensorflow.bzl", "cuda_py_test")
package(
default_visibility = ["//tensorflow:internal"],
licenses = ["notice"], # Apache 2.0
)
cuda_py_test(
name = "gradient_checker_test",
size = "medium",
srcs = ["gradient_checker_test.py"],
python_version = "PY3",
deps = [
"//tensorflow/python:array_ops",
"//tensorflow/python:client_testlib",
"//tensorflow/python:framework_for_generated_wrappers",
"//tensorflow/python:math_ops",
"//tensorflow/python:nn_grad",
"//tensorflow/python:nn_ops",
"//tensorflow/python:platform",
"//third_party/py/numpy",
],
)