aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2018-07-17 14:45:12 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-07-17 14:49:15 -0700
commit67d7f85537bc7bb9638f3af0303f33f3f8990b6c (patch)
tree0675a8817d3e737c85f207f000e6e13c11838e7d /tensorflow/contrib/lite
parentc9fdfab3781bd55cf3d981b98982a1e8122de8d2 (diff)
Add 'no_oss' to all TF Lite tests that are not running in kokoro
PiperOrigin-RevId: 204978094
Diffstat (limited to 'tensorflow/contrib/lite')
-rw-r--r--tensorflow/contrib/lite/BUILD7
-rw-r--r--tensorflow/contrib/lite/delegates/eager/BUILD2
-rw-r--r--tensorflow/contrib/lite/delegates/nnapi/BUILD1
-rw-r--r--tensorflow/contrib/lite/examples/label_image/BUILD1
-rw-r--r--tensorflow/contrib/lite/java/BUILD5
-rw-r--r--tensorflow/contrib/lite/java/ovic/BUILD1
-rw-r--r--tensorflow/contrib/lite/kernels/BUILD181
-rw-r--r--tensorflow/contrib/lite/kernels/internal/BUILD22
-rw-r--r--tensorflow/contrib/lite/models/smartreply/BUILD3
-rw-r--r--tensorflow/contrib/lite/profiling/BUILD3
-rw-r--r--tensorflow/contrib/lite/python/BUILD10
-rw-r--r--tensorflow/contrib/lite/schema/BUILD6
-rw-r--r--tensorflow/contrib/lite/schema/builtin_ops_header/BUILD2
-rw-r--r--tensorflow/contrib/lite/testing/BUILD8
-rw-r--r--tensorflow/contrib/lite/toco/BUILD3
-rw-r--r--tensorflow/contrib/lite/toco/graph_transformations/tests/BUILD3
-rw-r--r--tensorflow/contrib/lite/toco/python/BUILD5
-rw-r--r--tensorflow/contrib/lite/toco/tensorflow_graph_matching/BUILD1
-rw-r--r--tensorflow/contrib/lite/toco/tflite/BUILD4
-rw-r--r--tensorflow/contrib/lite/tools/BUILD2
-rw-r--r--tensorflow/contrib/lite/tools/benchmark/BUILD1
21 files changed, 229 insertions, 42 deletions
diff --git a/tensorflow/contrib/lite/BUILD b/tensorflow/contrib/lite/BUILD
index b95d4d0fce..7d7dd6b708 100644
--- a/tensorflow/contrib/lite/BUILD
+++ b/tensorflow/contrib/lite/BUILD
@@ -47,6 +47,10 @@ cc_test(
name = "arena_planner_test",
size = "small",
srcs = ["arena_planner_test.cc"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable",
+ ],
deps = [
":arena_planner",
"//tensorflow/contrib/lite/testing:util",
@@ -200,6 +204,7 @@ cc_test(
name = "graph_info_test",
size = "small",
srcs = ["graph_info_test.cc"],
+ tags = ["no_oss"],
deps = [
":framework",
":string_util",
@@ -244,6 +249,7 @@ cc_test(
name = "op_resolver_test",
size = "small",
srcs = ["op_resolver_test.cc"],
+ tags = ["no_oss"],
deps = [
":framework",
"//tensorflow/contrib/lite/testing:util",
@@ -276,6 +282,7 @@ cc_test(
name = "util_test",
size = "small",
srcs = ["util_test.cc"],
+ tags = ["no_oss"],
deps = [
":context",
":util",
diff --git a/tensorflow/contrib/lite/delegates/eager/BUILD b/tensorflow/contrib/lite/delegates/eager/BUILD
index 270d83d188..9d8c20e96f 100644
--- a/tensorflow/contrib/lite/delegates/eager/BUILD
+++ b/tensorflow/contrib/lite/delegates/eager/BUILD
@@ -26,6 +26,7 @@ cc_test(
size = "small",
srcs = ["buffer_map_test.cc"],
tags = [
+ "no_oss",
"tflite_not_portable",
],
deps = [
@@ -55,6 +56,7 @@ cc_test(
size = "small",
srcs = ["util_test.cc"],
tags = [
+ "no_oss",
"tflite_not_portable",
],
deps = [
diff --git a/tensorflow/contrib/lite/delegates/nnapi/BUILD b/tensorflow/contrib/lite/delegates/nnapi/BUILD
index 35a8f6ca41..091f8fbce7 100644
--- a/tensorflow/contrib/lite/delegates/nnapi/BUILD
+++ b/tensorflow/contrib/lite/delegates/nnapi/BUILD
@@ -22,6 +22,7 @@ tf_cc_test(
name = "nnapi_delegate_test",
size = "small",
srcs = ["nnapi_delegate_test.cc"],
+ tags = ["no_oss"],
deps = [
":nnapi_delegate",
"//tensorflow/contrib/lite:framework",
diff --git a/tensorflow/contrib/lite/examples/label_image/BUILD b/tensorflow/contrib/lite/examples/label_image/BUILD
index c61445114e..fc55a78019 100644
--- a/tensorflow/contrib/lite/examples/label_image/BUILD
+++ b/tensorflow/contrib/lite/examples/label_image/BUILD
@@ -63,6 +63,7 @@ cc_test(
data = [
"testdata/grace_hopper.bmp",
],
+ tags = ["no_oss"],
deps = [
":bitmap_helpers",
"@com_google_googletest//:gtest",
diff --git a/tensorflow/contrib/lite/java/BUILD b/tensorflow/contrib/lite/java/BUILD
index 593af81a18..098ba7e773 100644
--- a/tensorflow/contrib/lite/java/BUILD
+++ b/tensorflow/contrib/lite/java/BUILD
@@ -69,6 +69,7 @@ java_test(
size = "small",
srcs = ["src/test/java/org/tensorflow/lite/TensorFlowLiteTest.java"],
javacopts = JAVACOPTS,
+ tags = ["no_oss"],
test_class = "org.tensorflow.lite.TensorFlowLiteTest",
deps = [
":libtensorflowlite_jni.so",
@@ -83,6 +84,7 @@ java_test(
size = "small",
srcs = ["src/test/java/org/tensorflow/lite/DataTypeTest.java"],
javacopts = JAVACOPTS,
+ tags = ["no_oss"],
test_class = "org.tensorflow.lite.DataTypeTest",
deps = [
":libtensorflowlite_jni.so",
@@ -105,6 +107,7 @@ java_test(
"src/testdata/with_custom_op.lite",
],
javacopts = JAVACOPTS,
+ tags = ["no_oss"],
test_class = "org.tensorflow.lite.NativeInterpreterWrapperTest",
deps = [
":libtensorflowlite_jni.so",
@@ -124,6 +127,7 @@ java_test(
"src/testdata/mobilenet.tflite.bin",
],
javacopts = JAVACOPTS,
+ tags = ["no_oss"],
test_class = "org.tensorflow.lite.InterpreterTest",
visibility = ["//visibility:private"],
deps = [
@@ -142,6 +146,7 @@ java_test(
"src/testdata/add.bin",
],
javacopts = JAVACOPTS,
+ tags = ["no_oss"],
test_class = "org.tensorflow.lite.TensorTest",
deps = [
":tensorflowlitelib",
diff --git a/tensorflow/contrib/lite/java/ovic/BUILD b/tensorflow/contrib/lite/java/ovic/BUILD
index f232b00045..06f46fb923 100644
--- a/tensorflow/contrib/lite/java/ovic/BUILD
+++ b/tensorflow/contrib/lite/java/ovic/BUILD
@@ -18,6 +18,7 @@ java_test(
"//tensorflow/contrib/lite/java/ovic/src/testdata:ovic_testdata",
],
javacopts = JAVACOPTS,
+ tags = ["no_oss"],
test_class = "org.tensorflow.ovic.OvicClassifierTest",
visibility = ["//visibility:public"],
deps = [
diff --git a/tensorflow/contrib/lite/kernels/BUILD b/tensorflow/contrib/lite/kernels/BUILD
index 33594c138b..ad30624f40 100644
--- a/tensorflow/contrib/lite/kernels/BUILD
+++ b/tensorflow/contrib/lite/kernels/BUILD
@@ -12,7 +12,10 @@ tf_cc_test(
name = "optional_tensor_test",
size = "small",
srcs = ["optional_tensor_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -112,7 +115,10 @@ tf_cc_test(
name = "kernel_util_test",
size = "small",
srcs = ["kernel_util_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":kernel_util",
"//tensorflow/contrib/lite/testing:util",
@@ -124,6 +130,7 @@ tf_cc_test(
name = "test_util_test",
size = "small",
srcs = ["test_util_test.cc"],
+ tags = ["no_oss"],
deps = [
":test_util",
"//tensorflow/contrib/lite/testing:util",
@@ -232,7 +239,10 @@ tf_cc_test(
name = "audio_spectrogram_test",
size = "small",
srcs = ["audio_spectrogram_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -246,7 +256,10 @@ tf_cc_test(
name = "mfcc_test",
size = "small",
srcs = ["mfcc_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -260,7 +273,10 @@ tf_cc_test(
name = "detection_postprocess_test",
size = "small",
srcs = ["detection_postprocess_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -301,6 +317,7 @@ tf_cc_test(
size = "small",
srcs = ["arg_min_max_test.cc"],
tags = [
+ "no_oss",
"tflite_not_portable_ios",
],
deps = [
@@ -315,7 +332,10 @@ tf_cc_test(
name = "div_test",
size = "small",
srcs = ["div_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -328,7 +348,10 @@ tf_cc_test(
name = "sub_test",
size = "small",
srcs = ["sub_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -341,7 +364,10 @@ tf_cc_test(
name = "transpose_test",
size = "small",
srcs = ["transpose_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -356,7 +382,10 @@ tf_cc_test(
name = "space_to_batch_nd_test",
size = "small",
srcs = ["space_to_batch_nd_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -369,7 +398,10 @@ tf_cc_test(
name = "batch_to_space_nd_test",
size = "small",
srcs = ["batch_to_space_nd_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -382,7 +414,10 @@ tf_cc_test(
name = "cast_test",
size = "small",
srcs = ["cast_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -435,7 +470,10 @@ tf_cc_test(
name = "dequantize_test",
size = "small",
srcs = ["dequantize_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -462,7 +500,10 @@ tf_cc_test(
name = "bidirectional_sequence_lstm_test",
size = "small",
srcs = ["bidirectional_sequence_lstm_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -475,7 +516,10 @@ tf_cc_test(
name = "floor_test",
size = "small",
srcs = ["floor_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -488,7 +532,10 @@ tf_cc_test(
name = "elementwise_test",
size = "small",
srcs = ["elementwise_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -501,7 +548,10 @@ tf_cc_test(
name = "unidirectional_sequence_lstm_test",
size = "small",
srcs = ["unidirectional_sequence_lstm_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -515,6 +565,7 @@ tf_cc_test(
size = "small",
srcs = ["bidirectional_sequence_rnn_test.cc"],
tags = [
+ "no_oss",
"tflite_not_portable",
],
deps = [
@@ -529,7 +580,10 @@ tf_cc_test(
name = "unidirectional_sequence_rnn_test",
size = "small",
srcs = ["unidirectional_sequence_rnn_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -555,7 +609,10 @@ tf_cc_test(
name = "exp_test",
size = "small",
srcs = ["exp_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -568,7 +625,10 @@ tf_cc_test(
name = "fake_quant_test",
size = "small",
srcs = ["fake_quant_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -581,7 +641,10 @@ tf_cc_test(
name = "maximum_minimum_test",
size = "small",
srcs = ["maximum_minimum_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -594,7 +657,10 @@ tf_cc_test(
name = "reduce_test",
size = "small",
srcs = ["reduce_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -620,7 +686,10 @@ tf_cc_test(
name = "pad_test",
size = "small",
srcs = ["pad_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -646,7 +715,10 @@ tf_cc_test(
name = "gather_test",
size = "small",
srcs = ["gather_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:builtin_op_data",
@@ -660,7 +732,10 @@ tf_cc_test(
name = "topk_v2_test",
size = "small",
srcs = ["topk_v2_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:builtin_op_data",
@@ -781,7 +856,10 @@ tf_cc_test(
name = "log_softmax_test",
size = "small",
srcs = ["log_softmax_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -862,7 +940,10 @@ tf_cc_test(
name = "split_test",
size = "small",
srcs = ["split_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -875,7 +956,10 @@ tf_cc_test(
name = "squeeze_test",
size = "small",
srcs = ["squeeze_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -888,7 +972,10 @@ tf_cc_test(
name = "strided_slice_test",
size = "small",
srcs = ["strided_slice_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -901,7 +988,10 @@ tf_cc_test(
name = "tile_test",
size = "small",
srcs = ["tile_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:builtin_op_data",
@@ -918,6 +1008,7 @@ tf_cc_test(
"comparisons_test.cc",
],
tags = [
+ "no_oss",
"tflite_not_portable_ios",
],
deps = [
@@ -932,7 +1023,10 @@ tf_cc_test(
name = "neg_test",
size = "small",
srcs = ["neg_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -948,6 +1042,7 @@ tf_cc_test(
"select_test.cc",
],
tags = [
+ "no_oss",
"tflite_not_portable_ios",
],
deps = [
@@ -965,6 +1060,7 @@ tf_cc_test(
"slice_test.cc",
],
tags = [
+ "no_oss",
"tflite_not_portable_ios",
],
deps = [
@@ -979,7 +1075,10 @@ tf_cc_test(
name = "transpose_conv_test",
size = "small",
srcs = ["transpose_conv_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:framework",
@@ -992,7 +1091,10 @@ tf_cc_test(
name = "expand_dims_test",
size = "small",
srcs = ["expand_dims_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:builtin_op_data",
@@ -1006,7 +1108,10 @@ tf_cc_test(
name = "sparse_to_dense_test",
size = "small",
srcs = ["sparse_to_dense_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:builtin_op_data",
@@ -1020,7 +1125,10 @@ tf_cc_test(
name = "shape_test",
size = "small",
srcs = ["shape_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:builtin_op_data",
@@ -1034,7 +1142,10 @@ tf_cc_test(
name = "pow_test",
size = "small",
srcs = ["pow_test.cc"],
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":builtin_ops",
"//tensorflow/contrib/lite:builtin_op_data",
diff --git a/tensorflow/contrib/lite/kernels/internal/BUILD b/tensorflow/contrib/lite/kernels/internal/BUILD
index 7962fcbc9d..3a855fe3dd 100644
--- a/tensorflow/contrib/lite/kernels/internal/BUILD
+++ b/tensorflow/contrib/lite/kernels/internal/BUILD
@@ -232,6 +232,7 @@ cc_library(
cc_test(
name = "tensor_test",
srcs = ["tensor_test.cc"],
+ tags = ["no_oss"],
deps = [
":reference",
"@com_google_googletest//:gtest",
@@ -260,6 +261,7 @@ cc_library(
cc_test(
name = "quantization_util_test",
srcs = ["quantization_util_test.cc"],
+ tags = ["no_oss"],
deps = [
":quantization_util",
"@com_google_googletest//:gtest",
@@ -505,7 +507,10 @@ cc_test(
"//conditions:default": [],
}),
linkstatic = 1,
- tags = ["tflite_not_portable_ios"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
deps = [
":tensor_utils",
"//tensorflow/contrib/lite:builtin_op_data",
@@ -517,6 +522,7 @@ cc_test(
cc_test(
name = "depthwiseconv_float_test",
srcs = ["depthwiseconv_float_test.cc"],
+ tags = ["no_oss"],
deps = [
":optimized_base",
":reference_base",
@@ -529,6 +535,7 @@ cc_test(
cc_test(
name = "depthwiseconv_quantized_test",
srcs = ["depthwiseconv_quantized_test.cc"],
+ tags = ["no_oss"],
deps = [
":optimized_base",
":reference_base",
@@ -541,7 +548,10 @@ cc_test(
cc_test(
name = "resize_bilinear_test",
srcs = ["resize_bilinear_test.cc"],
- tags = ["tflite_not_portable"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable",
+ ],
deps = [
":optimized_base",
":reference_base",
@@ -557,6 +567,7 @@ cc_test(
srcs = [
"softmax_quantized_test.cc",
],
+ tags = ["no_oss"],
deps = [
":optimized_base",
":quantization_util",
@@ -572,7 +583,10 @@ cc_test(
srcs = [
"logsoftmax_quantized_test.cc",
],
- tags = ["tflite_not_portable"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable",
+ ],
deps = [
":optimized_base",
":quantization_util",
@@ -585,6 +599,7 @@ cc_test(
cc_test(
name = "log_quantized_test",
srcs = ["log_quantized_test.cc"],
+ tags = ["no_oss"],
deps = [
":optimized_base",
":reference_base",
@@ -611,6 +626,7 @@ cc_library(
cc_test(
name = "batch_to_space_nd_test",
srcs = ["batch_to_space_nd_test.cc"],
+ tags = ["no_oss"],
deps = [
":optimized_base",
"@com_google_googletest//:gtest_main",
diff --git a/tensorflow/contrib/lite/models/smartreply/BUILD b/tensorflow/contrib/lite/models/smartreply/BUILD
index 8b5fa240ac..9d88c396ba 100644
--- a/tensorflow/contrib/lite/models/smartreply/BUILD
+++ b/tensorflow/contrib/lite/models/smartreply/BUILD
@@ -47,6 +47,7 @@ cc_test(
name = "extract_feature_op_test",
size = "small",
srcs = ["ops/extract_feature_test.cc"],
+ tags = ["no_oss"],
deps = [
":custom_ops",
"//tensorflow/contrib/lite:framework",
@@ -61,6 +62,7 @@ cc_test(
name = "normalize_op_test",
size = "small",
srcs = ["ops/normalize_test.cc"],
+ tags = ["no_oss"],
deps = [
":custom_ops",
"//tensorflow/contrib/lite:framework",
@@ -75,6 +77,7 @@ cc_test(
name = "predict_op_test",
size = "small",
srcs = ["ops/predict_test.cc"],
+ tags = ["no_oss"],
deps = [
":custom_ops",
"//tensorflow/contrib/lite:framework",
diff --git a/tensorflow/contrib/lite/profiling/BUILD b/tensorflow/contrib/lite/profiling/BUILD
index a162b87b8f..b29ca330dc 100644
--- a/tensorflow/contrib/lite/profiling/BUILD
+++ b/tensorflow/contrib/lite/profiling/BUILD
@@ -20,6 +20,7 @@ cc_test(
srcs = ["profiler_test.cc"],
copts = ["-DTFLITE_PROFILING_ENABLED"],
defines = ["TFLITE_PROFILING_ENABLED"],
+ tags = ["no_oss"],
deps = [
":profiler",
"//tensorflow/contrib/lite/testing:util",
@@ -58,6 +59,7 @@ cc_test(
name = "profile_summarizer_test",
srcs = ["profile_summarizer_test.cc"],
copts = common_copts,
+ tags = ["no_oss"],
deps = [
":profile_summarizer",
"//tensorflow/contrib/lite:framework",
@@ -75,6 +77,7 @@ cc_test(
srcs = ["profile_buffer_test.cc"],
copts = ["-DTFLITE_PROFILING_ENABLED"],
defines = ["TFLITE_PROFILING_ENABLED"],
+ tags = ["no_oss"],
deps = [
":profile_buffer",
"//tensorflow/contrib/lite/testing:util",
diff --git a/tensorflow/contrib/lite/python/BUILD b/tensorflow/contrib/lite/python/BUILD
index 8c9608db04..727fbff38e 100644
--- a/tensorflow/contrib/lite/python/BUILD
+++ b/tensorflow/contrib/lite/python/BUILD
@@ -71,7 +71,10 @@ py_test(
srcs = ["lite_test.py"],
data = [":interpreter_test_data"],
srcs_version = "PY2AND3",
- tags = ["no_windows"],
+ tags = [
+ "no_oss",
+ "no_windows",
+ ],
deps = [
":lite",
],
@@ -163,7 +166,10 @@ py_test(
name = "convert_saved_model_test",
srcs = ["convert_saved_model_test.py"],
srcs_version = "PY2AND3",
- tags = ["no_windows"],
+ tags = [
+ "no_oss",
+ "no_windows",
+ ],
visibility = ["//visibility:public"],
deps = [
":convert_saved_model",
diff --git a/tensorflow/contrib/lite/schema/BUILD b/tensorflow/contrib/lite/schema/BUILD
index f095151cae..b616e449e6 100644
--- a/tensorflow/contrib/lite/schema/BUILD
+++ b/tensorflow/contrib/lite/schema/BUILD
@@ -30,7 +30,10 @@ py_test(
size = "small",
srcs = ["upgrade_schema_test.py"],
srcs_version = "PY2AND3",
- tags = ["no_pip"],
+ tags = [
+ "no_oss",
+ "no_pip",
+ ],
deps = [
":upgrade_schema",
"//tensorflow/python:client_testlib",
@@ -64,6 +67,7 @@ cc_test(
"schema_v3.fbs",
],
tags = [
+ "no_oss",
"tflite_not_portable_android",
"tflite_not_portable_ios",
],
diff --git a/tensorflow/contrib/lite/schema/builtin_ops_header/BUILD b/tensorflow/contrib/lite/schema/builtin_ops_header/BUILD
index 0148149a6a..4a627761da 100644
--- a/tensorflow/contrib/lite/schema/builtin_ops_header/BUILD
+++ b/tensorflow/contrib/lite/schema/builtin_ops_header/BUILD
@@ -24,6 +24,7 @@ cc_binary(
cc_test(
name = "generator_test",
srcs = ["generator_test.cc"],
+ tags = ["no_oss"],
deps = [
":generator",
"@com_google_googletest//:gtest",
@@ -36,6 +37,7 @@ cc_test(
data = [
"//tensorflow/contrib/lite:builtin_ops.h",
],
+ tags = ["no_oss"],
deps = [
":generator",
"@com_google_googletest//:gtest",
diff --git a/tensorflow/contrib/lite/testing/BUILD b/tensorflow/contrib/lite/testing/BUILD
index 789bc695f8..4c37bcb3c9 100644
--- a/tensorflow/contrib/lite/testing/BUILD
+++ b/tensorflow/contrib/lite/testing/BUILD
@@ -112,6 +112,7 @@ cc_library(
cc_test(
name = "message_test",
srcs = ["message_test.cc"],
+ tags = ["no_oss"],
deps = [
":message",
"@com_google_googletest//:gtest_main",
@@ -131,6 +132,7 @@ cc_test(
name = "split_test",
size = "small",
srcs = ["split_test.cc"],
+ tags = ["no_oss"],
deps = [
":split",
"@com_google_googletest//:gtest_main",
@@ -146,6 +148,7 @@ cc_test(
name = "join_test",
size = "small",
srcs = ["join_test.cc"],
+ tags = ["no_oss"],
deps = [
":join",
"@com_google_googletest//:gtest_main",
@@ -171,6 +174,7 @@ cc_test(
srcs = ["tflite_driver_test.cc"],
data = ["//tensorflow/contrib/lite:testdata/multi_add.bin"],
tags = [
+ "no_oss",
"tflite_not_portable_android",
"tflite_not_portable_ios",
],
@@ -192,6 +196,7 @@ cc_library(
cc_test(
name = "tokenize_test",
srcs = ["tokenize_test.cc"],
+ tags = ["no_oss"],
deps = [
":tokenize",
"@com_google_googletest//:gtest_main",
@@ -214,6 +219,7 @@ cc_library(
cc_test(
name = "test_runner_test",
srcs = ["test_runner_test.cc"],
+ tags = ["no_oss"],
deps = [
":test_runner",
"@com_google_googletest//:gtest_main",
@@ -252,6 +258,7 @@ cc_test(
srcs = ["tf_driver_test.cc"],
data = ["//tensorflow/contrib/lite:testdata/multi_add.pb"],
tags = [
+ "no_oss",
"tflite_not_portable",
],
deps = [
@@ -277,6 +284,7 @@ cc_test(
size = "small",
srcs = ["generate_testspec_test.cc"],
tags = [
+ "no_oss",
"tflite_not_portable",
],
deps = [
diff --git a/tensorflow/contrib/lite/toco/BUILD b/tensorflow/contrib/lite/toco/BUILD
index 2252fe175a..5e197e584c 100644
--- a/tensorflow/contrib/lite/toco/BUILD
+++ b/tensorflow/contrib/lite/toco/BUILD
@@ -337,6 +337,7 @@ cc_library(
tf_cc_test(
name = "import_tensorflow_test",
srcs = ["import_tensorflow_test.cc"],
+ tags = ["no_oss"],
deps = [
":toco_tooling",
"//tensorflow/core:framework",
@@ -376,6 +377,7 @@ cc_library(
tf_cc_test(
name = "tooling_util_test",
srcs = ["tooling_util_test.cc"],
+ tags = ["no_oss"],
deps = [
":model",
":tooling_util",
@@ -410,6 +412,7 @@ tf_cc_test(
data = [
"toco_port_test.cc",
],
+ tags = ["no_oss"],
deps = [
":toco_port",
"@com_google_googletest//:gtest_main",
diff --git a/tensorflow/contrib/lite/toco/graph_transformations/tests/BUILD b/tensorflow/contrib/lite/toco/graph_transformations/tests/BUILD
index 95e8433be2..e163fc9ae1 100644
--- a/tensorflow/contrib/lite/toco/graph_transformations/tests/BUILD
+++ b/tensorflow/contrib/lite/toco/graph_transformations/tests/BUILD
@@ -10,6 +10,7 @@ load(
tf_cc_test(
name = "lstm_utils_test",
srcs = ["lstm_utils_test.cc"],
+ tags = ["no_oss"],
deps = [
"//tensorflow/contrib/lite/toco:graph_transformations",
"//tensorflow/contrib/lite/toco:model",
@@ -21,6 +22,7 @@ tf_cc_test(
tf_cc_test(
name = "quantize_weights_test",
srcs = ["quantize_weights_test.cc"],
+ tags = ["no_oss"],
deps = [
"//tensorflow/contrib/lite/toco:graph_transformations",
"//tensorflow/contrib/lite/toco:model",
@@ -33,6 +35,7 @@ tf_cc_test(
tf_cc_test(
name = "resolve_constant_concatenation_test",
srcs = ["resolve_constant_concatenation_test.cc"],
+ tags = ["no_oss"],
deps = [
"//tensorflow/contrib/lite/toco:graph_transformations",
"//tensorflow/contrib/lite/toco:model",
diff --git a/tensorflow/contrib/lite/toco/python/BUILD b/tensorflow/contrib/lite/toco/python/BUILD
index 93fe756a55..33c5b16462 100644
--- a/tensorflow/contrib/lite/toco/python/BUILD
+++ b/tensorflow/contrib/lite/toco/python/BUILD
@@ -53,5 +53,8 @@ tf_py_test(
data = [
":toco_from_protos",
],
- tags = ["no_pip"],
+ tags = [
+ "no_oss",
+ "no_pip",
+ ],
)
diff --git a/tensorflow/contrib/lite/toco/tensorflow_graph_matching/BUILD b/tensorflow/contrib/lite/toco/tensorflow_graph_matching/BUILD
index 336e94de1e..ea1fc2827e 100644
--- a/tensorflow/contrib/lite/toco/tensorflow_graph_matching/BUILD
+++ b/tensorflow/contrib/lite/toco/tensorflow_graph_matching/BUILD
@@ -60,6 +60,7 @@ cc_library(
tf_cc_test(
name = "resolve_svdf_test",
srcs = ["resolve_svdf_test.cc"],
+ tags = ["no_oss"],
deps = [
":cluster",
":cluster_utils",
diff --git a/tensorflow/contrib/lite/toco/tflite/BUILD b/tensorflow/contrib/lite/toco/tflite/BUILD
index a02f90988b..83e977d7b3 100644
--- a/tensorflow/contrib/lite/toco/tflite/BUILD
+++ b/tensorflow/contrib/lite/toco/tflite/BUILD
@@ -37,6 +37,7 @@ tf_cc_test(
srcs = [
"operator_test.cc",
],
+ tags = ["no_oss"],
deps = [
":operator",
"//tensorflow/contrib/lite/toco:tooling_util",
@@ -66,6 +67,7 @@ tf_cc_test(
srcs = [
"types_test.cc",
],
+ tags = ["no_oss"],
deps = [
":types",
"@com_google_googletest//:gtest_main",
@@ -98,6 +100,7 @@ tf_cc_test(
srcs = [
"export_test.cc",
],
+ tags = ["no_oss"],
deps = [
":export",
"//tensorflow/contrib/lite/schema:schema_fbs",
@@ -131,6 +134,7 @@ tf_cc_test(
srcs = [
"import_test.cc",
],
+ tags = ["no_oss"],
deps = [
":import",
"//tensorflow/contrib/lite:schema_fbs_version",
diff --git a/tensorflow/contrib/lite/tools/BUILD b/tensorflow/contrib/lite/tools/BUILD
index d070018e83..0b26826403 100644
--- a/tensorflow/contrib/lite/tools/BUILD
+++ b/tensorflow/contrib/lite/tools/BUILD
@@ -53,6 +53,7 @@ cc_test(
"//tensorflow/contrib/lite:testdata/test_model_broken.bin",
],
tags = [
+ "no_oss",
"tflite_not_portable_android",
"tflite_not_portable_ios",
],
@@ -79,6 +80,7 @@ cc_test(
size = "small",
srcs = ["verifier_test.cc"],
tags = [
+ "no_oss",
"tflite_not_portable",
],
deps = [
diff --git a/tensorflow/contrib/lite/tools/benchmark/BUILD b/tensorflow/contrib/lite/tools/benchmark/BUILD
index 183a545295..810e25961f 100644
--- a/tensorflow/contrib/lite/tools/benchmark/BUILD
+++ b/tensorflow/contrib/lite/tools/benchmark/BUILD
@@ -40,6 +40,7 @@ cc_test(
name = "command_line_flags_test",
srcs = ["command_line_flags_test.cc"],
copts = common_copts,
+ tags = ["no_oss"],
visibility = ["//visibility:private"],
deps = [
":command_line_flags",