summaryrefslogtreecommitdiff
path: root/tools/nnapi_quickcheck/tests/fully_connected_1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/nnapi_quickcheck/tests/fully_connected_1.cpp')
-rw-r--r--tools/nnapi_quickcheck/tests/fully_connected_1.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tools/nnapi_quickcheck/tests/fully_connected_1.cpp b/tools/nnapi_quickcheck/tests/fully_connected_1.cpp
index ea5df23d2..43cd0a470 100644
--- a/tools/nnapi_quickcheck/tests/fully_connected_1.cpp
+++ b/tools/nnapi_quickcheck/tests/fully_connected_1.cpp
@@ -16,12 +16,12 @@
#include "gtest/gtest.h"
-#include "tflite/kernels/register.h"
-#include "tensorflow/contrib/lite/model.h"
-#include "tensorflow/contrib/lite/builtin_op_data.h"
+#include "tflite/ext/kernels/register.h"
+#include "tensorflow/lite/model.h"
+#include "tensorflow/lite/builtin_op_data.h"
#include "env.h"
-#include "util/environment.h"
+#include "misc/environment.h"
#include "tflite/Diff.h"
#include "tflite/Quantization.h"
@@ -34,7 +34,7 @@
#include <random>
using namespace tflite;
-using namespace tflite::ops::builtin;
+using namespace nnfw::tflite;
template <typename T> T *make_malloc(void) { return reinterpret_cast<T *>(malloc(sizeof(T))); }
@@ -43,13 +43,13 @@ TEST(NNAPI_Quickcheck_fully_connected_1, simple_test)
int verbose = 0;
int tolerance = 1;
- nnfw::util::env::IntAccessor("VERBOSE").access(verbose);
- nnfw::util::env::IntAccessor("TOLERANCE").access(tolerance);
+ nnfw::misc::env::IntAccessor("VERBOSE").access(verbose);
+ nnfw::misc::env::IntAccessor("TOLERANCE").access(tolerance);
// Set random seed
int SEED = std::chrono::system_clock::now().time_since_epoch().count();
- nnfw::util::env::IntAccessor("SEED").access(SEED);
+ nnfw::misc::env::IntAccessor("SEED").access(SEED);
#define INT_VALUE(NAME, VALUE) IntVar NAME##_Value(#NAME, VALUE);
#include "conv_1.lst"
@@ -174,7 +174,7 @@ TEST(NNAPI_Quickcheck_fully_connected_1, simple_test)
interp.SetOutputs({0});
};
- const nnfw::support::tflite::interp::FunctionBuilder builder(setup);
+ const nnfw::tflite::FunctionBuilder builder(setup);
RandomTestParam param;