aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/contrib/lite/kernels/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/contrib/lite/kernels/BUILD')
-rw-r--r--tensorflow/contrib/lite/kernels/BUILD196
1 files changed, 161 insertions, 35 deletions
diff --git a/tensorflow/contrib/lite/kernels/BUILD b/tensorflow/contrib/lite/kernels/BUILD
index edce73989c..c224132cae 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",
@@ -55,6 +58,7 @@ cc_library(
}),
deps = [
":op_macros",
+ "//tensorflow/contrib/lite:arena_planner",
"//tensorflow/contrib/lite:context",
"//tensorflow/contrib/lite/kernels/internal:optimized",
],
@@ -112,7 +116,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 +131,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",
@@ -168,6 +176,7 @@ cc_library(
"mfcc.cc",
"mul.cc",
"neg.cc",
+ "pack.cc",
"pad.cc",
"pooling.cc",
"pow.cc",
@@ -232,7 +241,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 +258,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 +275,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 +319,7 @@ tf_cc_test(
size = "small",
srcs = ["arg_min_max_test.cc"],
tags = [
+ "no_oss",
"tflite_not_portable_ios",
],
deps = [
@@ -315,7 +334,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 +350,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 +366,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 +384,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 +400,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 +416,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 +472,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 +502,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 +518,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 +534,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 +550,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 +567,7 @@ tf_cc_test(
size = "small",
srcs = ["bidirectional_sequence_rnn_test.cc"],
tags = [
+ "no_oss",
"tflite_not_portable",
],
deps = [
@@ -529,7 +582,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 +611,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 +627,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 +643,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 +659,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 +688,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 +717,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 +734,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 +858,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 +942,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 +958,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 +974,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 +990,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 +1010,7 @@ tf_cc_test(
"comparisons_test.cc",
],
tags = [
+ "no_oss",
"tflite_not_portable_ios",
],
deps = [
@@ -932,7 +1025,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 +1044,7 @@ tf_cc_test(
"select_test.cc",
],
tags = [
+ "no_oss",
"tflite_not_portable_ios",
],
deps = [
@@ -965,6 +1062,7 @@ tf_cc_test(
"slice_test.cc",
],
tags = [
+ "no_oss",
"tflite_not_portable_ios",
],
deps = [
@@ -979,12 +1077,14 @@ 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",
"//tensorflow/contrib/lite/kernels:test_util",
- "@com_google_absl//absl/memory",
"@com_google_googletest//:gtest",
],
)
@@ -993,7 +1093,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",
@@ -1007,7 +1110,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",
@@ -1021,7 +1127,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",
@@ -1035,6 +1144,23 @@ tf_cc_test(
name = "pow_test",
size = "small",
srcs = ["pow_test.cc"],
+ tags = [
+ "no_oss",
+ "tflite_not_portable_ios",
+ ],
+ deps = [
+ ":builtin_ops",
+ "//tensorflow/contrib/lite:builtin_op_data",
+ "//tensorflow/contrib/lite:framework",
+ "//tensorflow/contrib/lite/kernels:test_util",
+ "@com_google_googletest//:gtest",
+ ],
+)
+
+tf_cc_test(
+ name = "pack_test",
+ size = "small",
+ srcs = ["pack_test.cc"],
tags = ["tflite_not_portable_ios"],
deps = [
":builtin_ops",