Improve micro continuous integration.
PiperOrigin-RevId: 281573084 Change-Id: Ie2c54e41db75f459ff751ec4c4770fc16e41ed5d
This commit is contained in:
parent
cecc0faa23
commit
40184f276e
@ -1,8 +1,5 @@
|
||||
# Description:
|
||||
# TensorFlow Lite for Microcontrollers Vision Example Utils.
|
||||
|
||||
package(default_visibility = ["//visibility:public"])
|
||||
|
||||
licenses(["notice"]) # Apache 2.0
|
||||
|
||||
py_binary(
|
||||
@ -10,10 +7,7 @@ py_binary(
|
||||
srcs = ["raw_to_bitmap.py"],
|
||||
python_version = "PY3",
|
||||
srcs_version = "PY3ONLY",
|
||||
deps = [
|
||||
":raw_to_bitmap_lib",
|
||||
"//tensorflow:tensorflow_py",
|
||||
],
|
||||
deps = ["//third_party/py/numpy"],
|
||||
)
|
||||
|
||||
py_library(
|
||||
@ -21,7 +15,7 @@ py_library(
|
||||
srcs = ["raw_to_bitmap.py"],
|
||||
srcs_version = "PY2AND3",
|
||||
deps = [
|
||||
"//tensorflow:tensorflow_py",
|
||||
"//third_party/py/numpy",
|
||||
],
|
||||
)
|
||||
|
||||
@ -30,5 +24,10 @@ py_test(
|
||||
srcs = ["raw_to_bitmap_test.py"],
|
||||
data = glob(["testdata/**"]),
|
||||
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