PiperOrigin-RevId: 244896090
This commit is contained in:
A. Unique TensorFlower 2019-04-23 11:49:35 -07:00 committed by TensorFlower Gardener
parent 3bd15c9e72
commit cfda101ca1
16 changed files with 42 additions and 0 deletions
tensorflow
examples
get_started/regression
how_tos/reading_data
learn
saved_model/integration_tests
speech_commands
tutorials
layers
word2vec
lite/examples/python
python
data/experimental/benchmarks
feature_column
keras/mixed_precision/experimental
profiler
saved_model/model_utils
tools/api/generator
tools
common
test

View File

@ -12,6 +12,7 @@ py_test(
"linear_regression_categorical.py",
"test.py",
],
python_version = "PY2",
srcs_version = "PY2AND3",
tags = [
"manual",

View File

@ -10,6 +10,7 @@ exports_files(["LICENSE"])
py_binary(
name = "convert_to_records",
srcs = ["convert_to_records.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",
@ -22,6 +23,7 @@ py_binary(
srcs = [
"fully_connected_reader.py",
],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",

View File

@ -12,6 +12,7 @@ exports_files(["LICENSE"])
py_binary(
name = "iris_custom_decay_dnn",
srcs = ["iris_custom_decay_dnn.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = ["//tensorflow:tensorflow_py"],
)
@ -19,6 +20,7 @@ py_binary(
py_binary(
name = "iris_custom_model",
srcs = ["iris_custom_model.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = ["//tensorflow:tensorflow_py"],
)

View File

@ -20,6 +20,7 @@ py_binary(
"use_text_embedding_in_dataset.py",
"use_text_rnn_model.py",
],
python_version = "PY2",
visibility = ["//tensorflow:internal"],
deps = [
":mnist_util",
@ -52,6 +53,7 @@ py_test(
data = [
":run_script",
],
python_version = "PY2",
shard_count = 4,
srcs_version = "PY2AND3",
tags = [

View File

@ -65,6 +65,7 @@ tf_py_test(
py_binary(
name = "train",
srcs = ["train.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [":train_main_lib"],
)
@ -97,6 +98,7 @@ tf_py_test(
py_binary(
name = "freeze",
srcs = ["freeze.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [":freeze_main_lib"],
)
@ -136,6 +138,7 @@ tf_py_test(
py_binary(
name = "wav_to_features",
srcs = ["wav_to_features.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [":wav_to_features_main_lib"],
)
@ -175,6 +178,7 @@ tf_py_test(
py_binary(
name = "generate_streaming_test_wav",
srcs = ["generate_streaming_test_wav.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [":generate_streaming_test_wav_main_lib"],
)
@ -229,6 +233,7 @@ tf_cc_binary(
py_binary(
name = "label_wav",
srcs = ["label_wav.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [":label_wav_main_lib"],
)

View File

@ -13,6 +13,7 @@ py_binary(
srcs = [
"cnn_mnist.py",
],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow:tensorflow_py",

View File

@ -12,6 +12,7 @@ py_binary(
srcs = [
"word2vec_basic.py",
],
python_version = "PY2",
srcs_version = "PY2AND3",
tags = [
"no-internal-py3",

View File

@ -6,6 +6,7 @@ py_binary(
name = "label_image",
srcs = ["label_image.py"],
main = "label_image.py",
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/lite/python:lite",

View File

@ -10,6 +10,7 @@ load("//tensorflow:tensorflow.bzl", "py_test")
py_test(
name = "autotune_benchmark",
srcs = ["autotune_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:client_testlib",
@ -25,6 +26,7 @@ py_test(
py_test(
name = "csv_dataset_benchmark",
srcs = ["csv_dataset_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
tags = ["no_pip"],
deps = [
@ -42,6 +44,7 @@ py_test(
py_test(
name = "map_and_batch_benchmark",
srcs = ["map_and_batch_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/core:protos_all_py",
@ -61,6 +64,7 @@ py_test(
py_test(
name = "map_defun_benchmark",
srcs = ["map_defun_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:array_ops",
@ -77,6 +81,7 @@ py_test(
py_test(
name = "map_vectorization_benchmark",
srcs = ["map_vectorization_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/core:protos_all_py",
@ -97,6 +102,7 @@ py_test(
name = "matching_files_benchmark",
size = "small",
srcs = ["matching_files_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:array_ops",
@ -113,6 +119,7 @@ py_test(
py_test(
name = "choose_fastest_benchmark",
srcs = ["choose_fastest_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:client_testlib",
@ -127,6 +134,7 @@ py_test(
py_test(
name = "choose_fastest_branch_benchmark",
srcs = ["choose_fastest_branch_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:client_testlib",
@ -143,6 +151,7 @@ py_test(
py_test(
name = "optimize_benchmark",
srcs = ["optimize_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:client_testlib",
@ -157,6 +166,7 @@ py_test(
py_test(
name = "parallel_interleave_benchmark",
srcs = ["parallel_interleave_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:client_testlib",
@ -173,6 +183,7 @@ py_test(
py_test(
name = "rejection_resample_benchmark",
srcs = ["rejection_resample_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
tags = ["no_pip"],
deps = [
@ -187,6 +198,7 @@ py_test(
py_test(
name = "unbatch_benchmark",
srcs = ["unbatch_benchmark.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
"//tensorflow/python:array_ops",

View File

@ -238,6 +238,7 @@ tf_py_test(
py_test(
name = "sequence_feature_column_integration_test",
srcs = ["sequence_feature_column_integration_test.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
tags = ["no_pip"],
deps = [

View File

@ -52,6 +52,7 @@ py_test(
srcs = [
"policy_test.py",
],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
":policy",
@ -78,6 +79,7 @@ py_test(
name = "autocast_variable_test",
size = "medium",
srcs = ["autocast_variable_test.py"],
python_version = "PY2",
deps = [
":autocast_variable",
"//tensorflow/python:client_testlib",
@ -128,6 +130,7 @@ py_test(
name = "loss_scale_test",
size = "medium",
srcs = ["loss_scale_test.py"],
python_version = "PY2",
deps = [
":loss_scale",
"//tensorflow/python:client_testlib",

View File

@ -147,6 +147,7 @@ py_test(
size = "small",
srcs = ["pprof_profiler_test.py"],
main = "pprof_profiler_test.py",
python_version = "PY2",
srcs_version = "PY2AND3",
tags = ["no_pip"], # TODO(annarev): get it working with pip.
deps = [

View File

@ -49,6 +49,7 @@ py_library(
py_test(
name = "export_output_test",
srcs = ["export_output_test.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
":export_output",
@ -83,6 +84,7 @@ py_library(
py_test(
name = "export_test",
srcs = ["export_test.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
":export_utils",
@ -109,6 +111,7 @@ py_library(
py_test(
name = "mode_keys_test",
srcs = ["mode_keys_test.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
":mode_keys",

View File

@ -43,6 +43,7 @@ py_test(
"create_python_api.py",
"create_python_api_test.py",
],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
":doc_srcs",
@ -59,6 +60,7 @@ py_test(
"--api_name=tensorflow",
] + KERAS_API_INIT_FILES + KERAS_API_INIT_FILES_V1 + TENSORFLOW_API_INIT_FILES + TENSORFLOW_API_INIT_FILES_V1,
main = "doc_srcs_test.py",
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
":doc_srcs",
@ -74,6 +76,7 @@ py_test(
"api_init_files.bzl",
"api_init_files_v1.bzl",
],
python_version = "PY2",
srcs_version = "PY2AND3",
tags = ["no_pip"],
deps = [

View File

@ -21,6 +21,7 @@ py_library(
py_test(
name = "public_api_test",
srcs = ["public_api_test.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
":public_api",
@ -38,6 +39,7 @@ py_library(
py_test(
name = "traverse_test",
srcs = ["traverse_test.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
":test_module1",

View File

@ -32,6 +32,7 @@ py_library(
py_binary(
name = "system_info",
srcs = ["system_info.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
deps = [
":system_info_lib",
@ -55,6 +56,7 @@ py_library(
py_binary(
name = "run_and_gather_logs",
srcs = ["run_and_gather_logs.py"],
python_version = "PY2",
srcs_version = "PY2AND3",
visibility = ["//visibility:public"],
deps = [":run_and_gather_logs_main_lib"],