TensorFlow Lite C++ API example for inference

前端 未结 2 1672
野趣味
野趣味 2021-02-06 02:05

I am trying to get a TensorFlow Lite example to run on a machine with an ARM Cortex-A72 processor. Unfortunately, I wasn\'t able to deploy a test model due to the lack of exampl

2条回答
  •  天命终不由人
    2021-02-06 02:32

    Here is the minimal set of includes:

    #include "tensorflow/lite/interpreter.h"
    #include "tensorflow/lite/kernels/register.h"
    #include "tensorflow/lite/model.h"
    #include "tensorflow/lite/tools/gen_op_registration.h"
    

    These will include other headers, e.g. which defines std::unique_ptr.

提交回复
热议问题