Make the 'verifier' target public.
That target exposes core/api/verifier.h, which was previously part of the public model_builder.h file (and which is still #included by that file). model_builder.h is already exposed as part of the public '//third_party/tensorflow/lite:framework' target. This change allows code that uses tflite::TfLiteVerifier to follow include-what-you-use and #include core/api/verifier.h rather than #including model_builder.h and depending on the public framework target. PiperOrigin-RevId: 336713520 Change-Id: I300df719372bcef3b0d4993a641c2a7f76b3cfa9
This commit is contained in:
parent
03663189f5
commit
a80394ab46
@ -79,10 +79,7 @@ cc_library(
|
||||
hdrs = ["verifier.h"],
|
||||
compatible_with = get_compatible_with_portable(),
|
||||
copts = tflite_copts() + micro_copts(),
|
||||
visibility = [
|
||||
"//tensorflow/lite:__subpackages__",
|
||||
"//tensorflow_lite_support:__subpackages__",
|
||||
],
|
||||
visibility = ["//visibility:public"],
|
||||
deps = [":error_reporter"],
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user