(lite) Fix include-what-you-use violations in TF Lite Java's builtin_ops_jni.cc:

#include tensorflow/lite/core/api/op_resolver.h, for OpResolver,
and #include <memory>, for std::unique_ptr.

PiperOrigin-RevId: 340667630
Change-Id: I7ed9df7d3a939b54e6d2be9e9d7f9c6432886550
This commit is contained in:
Fergus Henderson 2020-11-04 09:46:27 -08:00 committed by TensorFlower Gardener
parent 2be72e4250
commit 1dcdf0d7ff
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,7 @@ cc_library(
deps = [
":native_framework_only",
"//tensorflow/lite:framework",
"//tensorflow/lite/core/api",
"//tensorflow/lite/kernels:builtin_ops",
],
alwayslink = 1,

View File

@ -13,6 +13,9 @@ See the License for the specific language governing permissions and
limitations under the License.
==============================================================================*/
#include <memory>
#include "tensorflow/lite/core/api/op_resolver.h"
#include "tensorflow/lite/kernels/register.h"
namespace tflite {