don't include unnecessary hexagon header

This commit is contained in:
Koan-Sin Tan 2020-04-06 12:33:13 +08:00
parent 1e00a5a770
commit 0abb6c9c7d

View File

@ -36,6 +36,9 @@ limitations under the License.
#include <vector>
#include "absl/memory/memory.h"
#if defined(__ANDROID__)
#include "tensorflow/lite/delegates/gpu/delegate.h"
#endif
#include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h"
#include "tensorflow/lite/examples/label_image/bitmap_helpers.h"
#include "tensorflow/lite/examples/label_image/get_top_n.h"
@ -45,13 +48,6 @@ limitations under the License.
#include "tensorflow/lite/string_util.h"
#include "tensorflow/lite/tools/evaluation/utils.h"
#if defined(__ANDROID__)
#include "tensorflow/lite/delegates/gpu/delegate.h"
#if (defined(__arm__) || defined(__aarch64__))
#include "tensorflow/lite/experimental/delegates/hexagon/hexagon_delegate.h"
#endif
#endif
#define LOG(x) std::cerr
namespace tflite {