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,
|
||||
data = data,
|
||||
srcs_version = "PY2AND3",
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
tags = [
|
||||
"no_oss",
|
||||
"no_windows",
|
||||
|
@ -131,7 +131,7 @@ py_library(
|
||||
py_binary(
|
||||
name = "generate_examples",
|
||||
srcs = ["generate_examples.py"],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
":generate_examples_lib",
|
||||
|
@ -88,7 +88,7 @@ py_test(
|
||||
"//tensorflow/lite/toco/logging/testdata:toco_tf_graph.dot",
|
||||
"//tensorflow/lite/toco/logging/testdata:toco_tflite_graph.dot",
|
||||
],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
":gen_html",
|
||||
|
@ -19,7 +19,7 @@ py_binary(
|
||||
"//tensorflow/python:platform",
|
||||
"@flatbuffers//:flatc",
|
||||
],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
srcs_version = "PY2AND3",
|
||||
)
|
||||
|
||||
|
@ -13,7 +13,7 @@ py_binary(
|
||||
"dataset.py",
|
||||
"mnist_tflite.py",
|
||||
],
|
||||
python_version = "PY2",
|
||||
python_version = "PY3",
|
||||
deps = [
|
||||
"//tensorflow:tensorflow_py",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user