[lite] Partial reversion of some changes in CL 336001737

(which were previously automatically rolled back in CL 336109212
and then wrongly rolled forward again in CL 336109212).

In particular, roll back the removal of #includes from header files.
These parts need to be reverted because they break many targets
due to widespread include-what-you-use violations in code that
depends on these header files.

PiperOrigin-RevId: 336127165
Change-Id: I7c9e6dd0dde6f25424314133fa759f8970dbf988
This commit is contained in:
Fergus Henderson 2020-10-08 11:24:53 -07:00 committed by TensorFlower Gardener
parent a4f2bb7ec0
commit 28a88cc4f7
3 changed files with 4 additions and 0 deletions

View File

@ -15,6 +15,7 @@ limitations under the License.
#ifndef TENSORFLOW_LITE_KERNELS_REGISTER_H_
#define TENSORFLOW_LITE_KERNELS_REGISTER_H_
#include "tensorflow/lite/model.h" // Legacy.
#include "tensorflow/lite/mutable_op_resolver.h"
namespace tflite {

View File

@ -191,6 +191,7 @@ cc_library(
srcs = ["verifier.cc"],
hdrs = ["verifier.h"],
deps = [
"//tensorflow/lite:framework",
"//tensorflow/lite:schema_fbs_version",
"//tensorflow/lite:string_util",
"//tensorflow/lite/c:common",

View File

@ -20,6 +20,8 @@ limitations under the License.
#include "tensorflow/lite/core/api/error_reporter.h"
#include "tensorflow/lite/core/api/op_resolver.h"
#include "tensorflow/lite/error_reporter.h" // Legacy.
#include "tensorflow/lite/model.h" // Legacy.
namespace tflite {