Improve micro continuous integration.
PiperOrigin-RevId: 281573084 Change-Id: Ie2c54e41db75f459ff751ec4c4770fc16e41ed5d
This commit is contained in:
parent
cecc0faa23
commit
40184f276e
@ -1,8 +1,5 @@
|
|||||||
# Description:
|
# Description:
|
||||||
# TensorFlow Lite for Microcontrollers Vision Example Utils.
|
# TensorFlow Lite for Microcontrollers Vision Example Utils.
|
||||||
|
|
||||||
package(default_visibility = ["//visibility:public"])
|
|
||||||
|
|
||||||
licenses(["notice"]) # Apache 2.0
|
licenses(["notice"]) # Apache 2.0
|
||||||
|
|
||||||
py_binary(
|
py_binary(
|
||||||
@ -10,10 +7,7 @@ py_binary(
|
|||||||
srcs = ["raw_to_bitmap.py"],
|
srcs = ["raw_to_bitmap.py"],
|
||||||
python_version = "PY3",
|
python_version = "PY3",
|
||||||
srcs_version = "PY3ONLY",
|
srcs_version = "PY3ONLY",
|
||||||
deps = [
|
deps = ["//third_party/py/numpy"],
|
||||||
":raw_to_bitmap_lib",
|
|
||||||
"//tensorflow:tensorflow_py",
|
|
||||||
],
|
|
||||||
)
|
)
|
||||||
|
|
||||||
py_library(
|
py_library(
|
||||||
@ -21,7 +15,7 @@ py_library(
|
|||||||
srcs = ["raw_to_bitmap.py"],
|
srcs = ["raw_to_bitmap.py"],
|
||||||
srcs_version = "PY2AND3",
|
srcs_version = "PY2AND3",
|
||||||
deps = [
|
deps = [
|
||||||
"//tensorflow:tensorflow_py",
|
"//third_party/py/numpy",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -30,5 +24,10 @@ py_test(
|
|||||||
srcs = ["raw_to_bitmap_test.py"],
|
srcs = ["raw_to_bitmap_test.py"],
|
||||||
data = glob(["testdata/**"]),
|
data = glob(["testdata/**"]),
|
||||||
python_version = "PY3",
|
python_version = "PY3",
|
||||||
deps = [":raw_to_bitmap_lib"],
|
tags = ["noubsan"], # TODO(b/144512025): Fix raw_to_bitmap_test to fix ubsan failure.
|
||||||
|
deps = [
|
||||||
|
":raw_to_bitmap_lib",
|
||||||
|
"//tensorflow/python:client_testlib",
|
||||||
|
"//third_party/py/numpy",
|
||||||
|
],
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user