aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/estimator/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/estimator/BUILD')
-rw-r--r--tensorflow/contrib/estimator/BUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/tensorflow/contrib/estimator/BUILD b/tensorflow/contrib/estimator/BUILD
index 437b3d965d..6db311d52d 100644
--- a/tensorflow/contrib/estimator/BUILD
+++ b/tensorflow/contrib/estimator/BUILD
@@ -18,6 +18,7 @@ py_library(
":boosted_trees",
":dnn",
":dnn_linear_combined",
+ ":dnn_with_layer_annotations",
":early_stopping",
":export",
":exporter",
@@ -127,6 +128,61 @@ py_test(
)
py_library(
+ name = "dnn_with_layer_annotations",
+ 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/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",
+ ],
+)
+
+py_test(
+ name = "dnn_with_layer_annotations_test",
+ size = "medium",
+ srcs = ["python/estimator/dnn_with_layer_annotations_test.py"],
+ shard_count = 4,
+ srcs_version = "PY2AND3",
+ tags = [
+ "no_pip",
+ "notsan", # b/67510291
+ ],
+ 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/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",
+ ],
+)
+
+py_library(
name = "dnn_linear_combined",
srcs = ["python/estimator/dnn_linear_combined.py"],
srcs_version = "PY2AND3",