aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/estimator
diff options
context:
space:
mode:
authorGravatar Michael Case <mikecase@google.com>2018-09-25 18:52:12 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-25 18:56:30 -0700
commitd84159b6694773a558c8eeef63ef79b4034b8fa7 (patch)
tree59695afb2098cbcc39fbb9b9ca667a891435a9bf /tensorflow/contrib/estimator
parentc1e303ed8fa1bf11aaea16e68b14ba2f5ab5dde0 (diff)
Update BUILD files so that Estimator code depends on TF thru tf_no_contrib.
PiperOrigin-RevId: 214541221
Diffstat (limited to 'tensorflow/contrib/estimator')
-rw-r--r--tensorflow/contrib/estimator/BUILD46
1 files changed, 6 insertions, 40 deletions
diff --git a/tensorflow/contrib/estimator/BUILD b/tensorflow/contrib/estimator/BUILD
index 6db311d52d..1ea00fb7f3 100644
--- a/tensorflow/contrib/estimator/BUILD
+++ b/tensorflow/contrib/estimator/BUILD
@@ -132,21 +132,11 @@ py_library(
srcs = ["python/estimator/dnn_with_layer_annotations.py"],
srcs_version = "PY2AND3",
deps = [
- "//tensorflow/python:array_ops",
- "//tensorflow/python:framework_ops",
- "//tensorflow/python:init_ops",
- "//tensorflow/python:layers",
- "//tensorflow/python:nn",
- "//tensorflow/python:partitioned_variables",
- "//tensorflow/python:summary",
- "//tensorflow/python:variable_scope",
+ "//tensorflow:tensorflow_py_no_contrib",
"//tensorflow/python/estimator",
"//tensorflow/python/estimator:head",
"//tensorflow/python/estimator:model_fn",
"//tensorflow/python/estimator:optimizers",
- "//tensorflow/python/feature_column",
- "//tensorflow/python/ops/losses",
- "//tensorflow/python/saved_model:utils",
],
)
@@ -162,22 +152,13 @@ py_test(
],
deps = [
":dnn_with_layer_annotations",
- "//tensorflow/core:protos_all_py",
- "//tensorflow/python:client_testlib",
- "//tensorflow/python:data_flow_ops",
- "//tensorflow/python:dtypes",
- "//tensorflow/python:framework_ops",
- "//tensorflow/python:parsing_ops",
- "//tensorflow/python:platform",
- "//tensorflow/python:summary",
- "//tensorflow/python:training",
+ "//tensorflow:tensorflow_py_no_contrib",
"//tensorflow/python/estimator:dnn",
"//tensorflow/python/estimator:dnn_testing_utils",
"//tensorflow/python/estimator:export_export",
"//tensorflow/python/estimator:numpy_io",
"//tensorflow/python/estimator:pandas_io",
"//tensorflow/python/estimator:prediction_keys",
- "//tensorflow/python/feature_column",
"@six_archive//:six",
],
)
@@ -283,9 +264,7 @@ py_library(
],
srcs_version = "PY2AND3",
deps = [
- "//tensorflow/python:framework_ops",
- "//tensorflow/python:platform",
- "//tensorflow/python:summary",
+ "//tensorflow:tensorflow_py_no_contrib",
"//tensorflow/python/estimator:exporter",
],
)
@@ -297,7 +276,7 @@ py_test(
srcs_version = "PY2AND3",
deps = [
":exporter",
- "//tensorflow/python:platform",
+ "//tensorflow:tensorflow_py_no_contrib",
"//tensorflow/python/estimator",
"//tensorflow/python/estimator:exporter",
],
@@ -502,7 +481,6 @@ py_library(
"//tensorflow/python/estimator",
"//tensorflow/python/estimator:head",
"//tensorflow/python/estimator:optimizers",
- "//tensorflow/python/ops/losses",
"@six_archive//:six",
],
)
@@ -557,13 +535,10 @@ py_library(
srcs = ["python/estimator/saved_model_estimator.py"],
deps = [
":export",
- "//tensorflow/python:framework_ops",
- "//tensorflow/python:platform",
- "//tensorflow/python:training",
+ "//tensorflow:tensorflow_py_no_contrib",
"//tensorflow/python/estimator",
"//tensorflow/python/estimator:export",
"//tensorflow/python/estimator:model_fn",
- "//tensorflow/python/saved_model",
],
)
@@ -578,16 +553,7 @@ py_test(
deps = [
":export",
":saved_model_estimator",
- "//tensorflow/python:array_ops",
- "//tensorflow/python:client_testlib",
- "//tensorflow/python:control_flow_ops",
- "//tensorflow/python:framework_ops",
- "//tensorflow/python:metrics",
- "//tensorflow/python:platform",
- "//tensorflow/python:state_ops",
- "//tensorflow/python:training",
- "//tensorflow/python:variables",
- "//tensorflow/python/data/ops:dataset_ops",
+ "//tensorflow:tensorflow_py_no_contrib",
"//tensorflow/python/estimator",
"//tensorflow/python/estimator:export_export",
"//tensorflow/python/estimator:export_output",