(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:
parent
2be72e4250
commit
1dcdf0d7ff
@ -51,6 +51,7 @@ cc_library(
|
|||||||
deps = [
|
deps = [
|
||||||
":native_framework_only",
|
":native_framework_only",
|
||||||
"//tensorflow/lite:framework",
|
"//tensorflow/lite:framework",
|
||||||
|
"//tensorflow/lite/core/api",
|
||||||
"//tensorflow/lite/kernels:builtin_ops",
|
"//tensorflow/lite/kernels:builtin_ops",
|
||||||
],
|
],
|
||||||
alwayslink = 1,
|
alwayslink = 1,
|
||||||
|
@ -13,6 +13,9 @@ See the License for the specific language governing permissions and
|
|||||||
limitations under the License.
|
limitations under the License.
|
||||||
==============================================================================*/
|
==============================================================================*/
|
||||||
|
|
||||||
|
#include <memory>
|
||||||
|
|
||||||
|
#include "tensorflow/lite/core/api/op_resolver.h"
|
||||||
#include "tensorflow/lite/kernels/register.h"
|
#include "tensorflow/lite/kernels/register.h"
|
||||||
|
|
||||||
namespace tflite {
|
namespace tflite {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user