Remove explicitly setting the targets to python version PY2.
PiperOrigin-RevId: 259069693
This commit is contained in:
parent
8faa8bc20e
commit
3b2bf7e948
@ -25,7 +25,6 @@ py_test(
|
|||||||
"//tensorflow/lite/python/testdata:interpreter_test_data",
|
"//tensorflow/lite/python/testdata:interpreter_test_data",
|
||||||
"//tensorflow/lite/python/testdata:test_delegate.so",
|
"//tensorflow/lite/python/testdata:test_delegate.so",
|
||||||
],
|
],
|
||||||
python_version = "PY2",
|
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
tags = [
|
tags = [
|
||||||
"no_windows",
|
"no_windows",
|
||||||
@ -95,7 +94,6 @@ py_test(
|
|||||||
name = "lite_test",
|
name = "lite_test",
|
||||||
srcs = ["lite_test.py"],
|
srcs = ["lite_test.py"],
|
||||||
data = ["@tflite_mobilenet_ssd_quant_protobuf//:tflite_graph.pb"],
|
data = ["@tflite_mobilenet_ssd_quant_protobuf//:tflite_graph.pb"],
|
||||||
python_version = "PY2",
|
|
||||||
shard_count = 4,
|
shard_count = 4,
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
tags = [
|
tags = [
|
||||||
@ -111,7 +109,6 @@ py_test(
|
|||||||
py_test(
|
py_test(
|
||||||
name = "lite_v2_test",
|
name = "lite_v2_test",
|
||||||
srcs = ["lite_v2_test.py"],
|
srcs = ["lite_v2_test.py"],
|
||||||
python_version = "PY2",
|
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
tags = [
|
tags = [
|
||||||
"no_windows",
|
"no_windows",
|
||||||
@ -126,7 +123,6 @@ py_test(
|
|||||||
py_test(
|
py_test(
|
||||||
name = "lite_flex_test",
|
name = "lite_flex_test",
|
||||||
srcs = ["lite_flex_test.py"],
|
srcs = ["lite_flex_test.py"],
|
||||||
python_version = "PY2",
|
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
tags = [
|
tags = [
|
||||||
# TODO(b/111881877): Enable in oss after resolving op registry issues.
|
# TODO(b/111881877): Enable in oss after resolving op registry issues.
|
||||||
@ -143,7 +139,6 @@ py_test(
|
|||||||
py_test(
|
py_test(
|
||||||
name = "lite_mlir_test",
|
name = "lite_mlir_test",
|
||||||
srcs = ["lite_mlir_test.py"],
|
srcs = ["lite_mlir_test.py"],
|
||||||
python_version = "PY2",
|
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
tags = [
|
tags = [
|
||||||
"no_oss",
|
"no_oss",
|
||||||
@ -174,7 +169,6 @@ py_library(
|
|||||||
py_test(
|
py_test(
|
||||||
name = "util_test",
|
name = "util_test",
|
||||||
srcs = ["util_test.py"],
|
srcs = ["util_test.py"],
|
||||||
python_version = "PY2",
|
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
tags = [
|
tags = [
|
||||||
"no_windows",
|
"no_windows",
|
||||||
@ -240,7 +234,6 @@ py_library(
|
|||||||
py_test(
|
py_test(
|
||||||
name = "convert_test",
|
name = "convert_test",
|
||||||
srcs = ["convert_test.py"],
|
srcs = ["convert_test.py"],
|
||||||
python_version = "PY2",
|
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
deps = [
|
deps = [
|
||||||
":convert",
|
":convert",
|
||||||
@ -272,7 +265,6 @@ py_library(
|
|||||||
py_test(
|
py_test(
|
||||||
name = "convert_saved_model_test",
|
name = "convert_saved_model_test",
|
||||||
srcs = ["convert_saved_model_test.py"],
|
srcs = ["convert_saved_model_test.py"],
|
||||||
python_version = "PY2",
|
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
tags = [
|
tags = [
|
||||||
"no_windows",
|
"no_windows",
|
||||||
|
Loading…
Reference in New Issue
Block a user