PY3 migration - Set py targets to "PY3" in tensorflow/lite/...
PiperOrigin-RevId: 284900555 Change-Id: I73157bf2570d2f66600bffc2cf31c42ac8de4cc5
This commit is contained in:
parent
e6e16839a0
commit
bce28ef8f8
tensorflow/lite
@ -691,7 +691,7 @@ def gen_model_coverage_test(src, model_name, data, failure_type, tags):
|
|||||||
] + args,
|
] + args,
|
||||||
data = data,
|
data = data,
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
python_version = "PY2",
|
python_version = "PY3",
|
||||||
tags = [
|
tags = [
|
||||||
"no_oss",
|
"no_oss",
|
||||||
"no_windows",
|
"no_windows",
|
||||||
|
@ -131,7 +131,7 @@ py_library(
|
|||||||
py_binary(
|
py_binary(
|
||||||
name = "generate_examples",
|
name = "generate_examples",
|
||||||
srcs = ["generate_examples.py"],
|
srcs = ["generate_examples.py"],
|
||||||
python_version = "PY2",
|
python_version = "PY3",
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
deps = [
|
deps = [
|
||||||
":generate_examples_lib",
|
":generate_examples_lib",
|
||||||
|
@ -88,7 +88,7 @@ py_test(
|
|||||||
"//tensorflow/lite/toco/logging/testdata:toco_tf_graph.dot",
|
"//tensorflow/lite/toco/logging/testdata:toco_tf_graph.dot",
|
||||||
"//tensorflow/lite/toco/logging/testdata:toco_tflite_graph.dot",
|
"//tensorflow/lite/toco/logging/testdata:toco_tflite_graph.dot",
|
||||||
],
|
],
|
||||||
python_version = "PY2",
|
python_version = "PY3",
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
deps = [
|
deps = [
|
||||||
":gen_html",
|
":gen_html",
|
||||||
|
@ -19,7 +19,7 @@ py_binary(
|
|||||||
"//tensorflow/python:platform",
|
"//tensorflow/python:platform",
|
||||||
"@flatbuffers//:flatc",
|
"@flatbuffers//:flatc",
|
||||||
],
|
],
|
||||||
python_version = "PY2",
|
python_version = "PY3",
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ py_binary(
|
|||||||
"dataset.py",
|
"dataset.py",
|
||||||
"mnist_tflite.py",
|
"mnist_tflite.py",
|
||||||
],
|
],
|
||||||
python_version = "PY2",
|
python_version = "PY3",
|
||||||
deps = [
|
deps = [
|
||||||
"//tensorflow:tensorflow_py",
|
"//tensorflow:tensorflow_py",
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user