提交 21381afd 编写于 作者: J Jan Prach

Merge pull request #2673 from jendap/disable-session_bundle

temporarily disable contrib/session_bundle
......@@ -92,8 +92,8 @@ filegroup(
"//tensorflow/contrib/quantization:all_files",
"//tensorflow/contrib/quantization/kernels:all_files",
"//tensorflow/contrib/quantization/tools:all_files",
"//tensorflow/contrib/session_bundle:all_files",
"//tensorflow/contrib/session_bundle/example:all_files",
# "//tensorflow/contrib/session_bundle:all_files",
# "//tensorflow/contrib/session_bundle/example:all_files",
"//tensorflow/contrib/skflow:all_files",
"//tensorflow/contrib/slim:all_files",
"//tensorflow/contrib/tensor_forest:all_files",
......
......@@ -3,7 +3,7 @@
package(
default_visibility = ["//visibility:public"],
features = [
"-layering_check",
"-layering_check",
],
)
......@@ -14,12 +14,12 @@ exports_files(["LICENSE"])
filegroup(
name = "all_files",
srcs = glob(
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
"g3doc/sitemap.md",
],
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
"g3doc/sitemap.md",
],
),
)
......@@ -30,9 +30,9 @@ py_library(
srcs = ["exporter.py"],
srcs_version = "PY2AND3",
deps = [
":gc",
":manifest_proto_py",
"//tensorflow:tensorflow_py",
":gc",
":manifest_proto_py",
"//tensorflow:tensorflow_py",
],
)
......@@ -40,15 +40,15 @@ py_test(
name = "exporter_test",
size = "small",
srcs = [
"exporter_test.py",
"exporter_test.py",
],
srcs_version = "PY2AND3",
visibility = ["//visibility:private"],
deps = [
":exporter",
":gc",
":manifest_proto_py",
"//tensorflow:tensorflow_py",
":exporter",
":gc",
":manifest_proto_py",
"//tensorflow:tensorflow_py",
],
)
......@@ -57,20 +57,20 @@ py_library(
srcs = ["gc.py"],
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",
"//tensorflow:tensorflow_py",
],
)
py_test(
name = "gc_test",
srcs = [
"gc_test.py",
"gc_test.py",
],
srcs_version = "PY2AND3",
visibility = ["//visibility:private"],
deps = [
":gc",
"//tensorflow:tensorflow_py",
":gc",
"//tensorflow:tensorflow_py",
],
)
......@@ -79,13 +79,13 @@ cc_library(
srcs = ["session_bundle.cc"],
hdrs = ["session_bundle.h"],
deps = [
":manifest_proto_cc",
":signature",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core:tensorflow_opensource",
":manifest_proto_cc",
":signature",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core:tensorflow_opensource",
],
)
......@@ -94,20 +94,20 @@ cc_test(
size = "small",
srcs = ["session_bundle_test.cc"],
data = [
"//tensorflow/contrib/session_bundle/example:half_plus_two",
"//tensorflow/contrib/session_bundle/example:half_plus_two",
],
# Link in all registered kernels.
linkstatic = 1,
visibility = ["//visibility:private"],
deps = [
":session_bundle",
":test_util",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//tensorflow/core:test",
"//tensorflow/core:test_main",
"//tensorflow/core:testlib",
":session_bundle",
":test_util",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//tensorflow/core:test",
"//tensorflow/core:test_main",
"//tensorflow/core:testlib",
],
)
......@@ -116,11 +116,11 @@ cc_library(
srcs = ["signature.cc"],
hdrs = ["signature.h"],
deps = [
":manifest_proto_cc",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//tensorflow/core:tensorflow_opensource",
":manifest_proto_cc",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//tensorflow/core:tensorflow_opensource",
],
)
......@@ -130,17 +130,17 @@ cc_test(
srcs = ["signature_test.cc"],
visibility = ["//visibility:private"],
deps = [
":manifest_proto_cc",
":signature",
":test_util",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core:tensorflow_opensource",
"//tensorflow/core:test",
"//tensorflow/core:test_main",
"//tensorflow/core:testlib",
":manifest_proto_cc",
":signature",
":test_util",
"//tensorflow/core:core_cpu",
"//tensorflow/core:framework",
"//tensorflow/core:lib",
"//tensorflow/core:protos_all_cc",
"//tensorflow/core:tensorflow_opensource",
"//tensorflow/core:test",
"//tensorflow/core:test_main",
"//tensorflow/core:testlib",
],
)
......@@ -151,9 +151,9 @@ cc_library(
hdrs = ["test_util.h"],
visibility = ["//visibility:private"],
deps = [
"//tensorflow/core",
"//tensorflow/core:lib",
"//tensorflow/core:test",
"//tensorflow/core",
"//tensorflow/core:lib",
"//tensorflow/core:test",
],
)
......
......@@ -13,12 +13,12 @@ exports_files(["LICENSE"])
filegroup(
name = "all_files",
srcs = glob(
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
"g3doc/sitemap.md",
],
["**/*"],
exclude = [
"**/METADATA",
"**/OWNERS",
"g3doc/sitemap.md",
],
),
visibility = ["//visibility:public"],
)
......@@ -26,27 +26,27 @@ filegroup(
py_binary(
name = "export_half_plus_two",
srcs = [
"export_half_plus_two.py",
"export_half_plus_two.py",
],
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",
"//tensorflow/contrib/session_bundle:exporter",
"//tensorflow:tensorflow_py",
"//tensorflow/contrib/session_bundle:exporter",
],
)
genrule(
name = "half_plus_two",
outs = [
"half_plus_two/00000123/export.meta",
"half_plus_two/00000123/export-00000-of-00001",
"half_plus_two/00000123/export.meta",
"half_plus_two/00000123/export-00000-of-00001",
],
cmd =
"rm -rf /tmp/half_plus_two; " +
"$(PYTHON_BIN_PATH) $(locations :export_half_plus_two); " +
"cp -r /tmp/half_plus_two/* $(@D)/half_plus_two",
"rm -rf /tmp/half_plus_two; " +
"$(PYTHON_BIN_PATH) $(locations :export_half_plus_two); " +
"cp -r /tmp/half_plus_two/* $(@D)/half_plus_two",
tools = [
":export_half_plus_two",
":export_half_plus_two",
],
visibility = ["//visibility:public"],
)
......@@ -30,9 +30,9 @@ sh_binary(
":other_headers",
":simple_console",
"//tensorflow:tensorflow_py",
"//tensorflow/contrib/session_bundle:all_files",
"//tensorflow/contrib/session_bundle:manifest_proto_py",
"//tensorflow/contrib/session_bundle/example:half_plus_two",
# "//tensorflow/contrib/session_bundle:all_files",
# "//tensorflow/contrib/session_bundle:manifest_proto_py",
# "//tensorflow/contrib/session_bundle/example:half_plus_two",
"//tensorflow/contrib/slim:all_files",
"//tensorflow/core:framework_headers",
"//tensorflow/examples/tutorials/mnist:package",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册