Prune unused includes in XNNPACK tester headers

PiperOrigin-RevId: 313123993
Change-Id: I69549e97cc1c4926ea5c2cab7fb56f3aa1e28b0d
This commit is contained in:
Marat Dukhan 2020-05-25 20:21:16 -07:00 committed by TensorFlower Gardener
parent 0097e04b24
commit 7b48dab3ac
8 changed files with 10 additions and 39 deletions

View File

@ -53,6 +53,7 @@ cc_library(
deps = [ deps = [
"//tensorflow/lite:framework", "//tensorflow/lite:framework",
"//tensorflow/lite:schema_fbs_version", "//tensorflow/lite:schema_fbs_version",
"//tensorflow/lite/c:common",
"//tensorflow/lite/kernels:builtin_ops", "//tensorflow/lite/kernels:builtin_ops",
"//tensorflow/lite/schema:schema_fbs", "//tensorflow/lite/schema:schema_fbs",
"@com_google_googletest//:gtest", "@com_google_googletest//:gtest",
@ -68,6 +69,7 @@ cc_library(
deps = [ deps = [
"//tensorflow/lite:framework", "//tensorflow/lite:framework",
"//tensorflow/lite:schema_fbs_version", "//tensorflow/lite:schema_fbs_version",
"//tensorflow/lite/c:common",
"//tensorflow/lite/kernels:builtin_ops", "//tensorflow/lite/kernels:builtin_ops",
"//tensorflow/lite/schema:schema_fbs", "//tensorflow/lite/schema:schema_fbs",
"@com_google_googletest//:gtest", "@com_google_googletest//:gtest",
@ -115,6 +117,7 @@ cc_library(
deps = [ deps = [
"//tensorflow/lite:framework", "//tensorflow/lite:framework",
"//tensorflow/lite:schema_fbs_version", "//tensorflow/lite:schema_fbs_version",
"//tensorflow/lite/c:common",
"//tensorflow/lite/kernels:builtin_ops", "//tensorflow/lite/kernels:builtin_ops",
"//tensorflow/lite/schema:schema_fbs", "//tensorflow/lite/schema:schema_fbs",
"@com_google_googletest//:gtest", "@com_google_googletest//:gtest",
@ -130,6 +133,7 @@ cc_library(
deps = [ deps = [
"//tensorflow/lite:framework", "//tensorflow/lite:framework",
"//tensorflow/lite:schema_fbs_version", "//tensorflow/lite:schema_fbs_version",
"//tensorflow/lite/c:common",
"//tensorflow/lite/kernels:builtin_ops", "//tensorflow/lite/kernels:builtin_ops",
"//tensorflow/lite/schema:schema_fbs", "//tensorflow/lite/schema:schema_fbs",
"@com_google_googletest//:gtest", "@com_google_googletest//:gtest",
@ -145,6 +149,7 @@ cc_library(
deps = [ deps = [
"//tensorflow/lite:framework", "//tensorflow/lite:framework",
"//tensorflow/lite:schema_fbs_version", "//tensorflow/lite:schema_fbs_version",
"//tensorflow/lite/c:common",
"//tensorflow/lite/kernels:builtin_ops", "//tensorflow/lite/kernels:builtin_ops",
"//tensorflow/lite/schema:schema_fbs", "//tensorflow/lite/schema:schema_fbs",
"@com_google_googletest//:gtest", "@com_google_googletest//:gtest",

View File

@ -17,17 +17,11 @@ limitations under the License.
#define TENSORFLOW_LITE_DELEGATES_XNNPACK_BINARY_ELEMENTWISE_TESTER_H_ #define TENSORFLOW_LITE_DELEGATES_XNNPACK_BINARY_ELEMENTWISE_TESTER_H_
#include <cstdint> #include <cstdint>
#include <functional>
#include <random>
#include <vector> #include <vector>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "flatbuffers/flatbuffers.h" // from @flatbuffers #include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/interpreter.h"
#include "tensorflow/lite/kernels/register.h"
#include "tensorflow/lite/model.h"
#include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/schema/schema_generated.h"
#include "tensorflow/lite/version.h"
namespace tflite { namespace tflite {
namespace xnnpack { namespace xnnpack {

View File

@ -17,17 +17,11 @@ limitations under the License.
#define TENSORFLOW_LITE_DELEGATES_XNNPACK_DEPTHWISE_CONV_2D_TESTER_H_ #define TENSORFLOW_LITE_DELEGATES_XNNPACK_DEPTHWISE_CONV_2D_TESTER_H_
#include <cstdint> #include <cstdint>
#include <functional>
#include <random>
#include <vector> #include <vector>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "flatbuffers/flatbuffers.h" // from @flatbuffers #include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/interpreter.h"
#include "tensorflow/lite/kernels/register.h"
#include "tensorflow/lite/model.h"
#include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/schema/schema_generated.h"
#include "tensorflow/lite/version.h"
namespace tflite { namespace tflite {
namespace xnnpack { namespace xnnpack {

View File

@ -17,8 +17,6 @@ limitations under the License.
#define TENSORFLOW_LITE_DELEGATES_XNNPACK_FULLY_CONNECTED_TESTER_H_ #define TENSORFLOW_LITE_DELEGATES_XNNPACK_FULLY_CONNECTED_TESTER_H_
#include <cstdint> #include <cstdint>
#include <functional>
#include <random>
#include <vector> #include <vector>
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -17,8 +17,6 @@ limitations under the License.
#define TENSORFLOW_LITE_DELEGATES_XNNPACK_PAD_TESTER_H_ #define TENSORFLOW_LITE_DELEGATES_XNNPACK_PAD_TESTER_H_
#include <cstdint> #include <cstdint>
#include <functional>
#include <random>
#include <vector> #include <vector>
#include <gtest/gtest.h> #include <gtest/gtest.h>

View File

@ -17,17 +17,11 @@ limitations under the License.
#define TENSORFLOW_LITE_DELEGATES_XNNPACK_POOL_2D_TESTER_H_ #define TENSORFLOW_LITE_DELEGATES_XNNPACK_POOL_2D_TESTER_H_
#include <cstdint> #include <cstdint>
#include <functional>
#include <random>
#include <vector> #include <vector>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "flatbuffers/flatbuffers.h" // from @flatbuffers #include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/interpreter.h"
#include "tensorflow/lite/kernels/register.h"
#include "tensorflow/lite/model.h"
#include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/schema/schema_generated.h"
#include "tensorflow/lite/version.h"
namespace tflite { namespace tflite {
namespace xnnpack { namespace xnnpack {

View File

@ -17,17 +17,11 @@ limitations under the License.
#define TENSORFLOW_LITE_DELEGATES_XNNPACK_SOFTMAX_TESTER_H_ #define TENSORFLOW_LITE_DELEGATES_XNNPACK_SOFTMAX_TESTER_H_
#include <cstdint> #include <cstdint>
#include <functional>
#include <random>
#include <vector> #include <vector>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "flatbuffers/flatbuffers.h" // from @flatbuffers #include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/interpreter.h"
#include "tensorflow/lite/kernels/register.h"
#include "tensorflow/lite/model.h"
#include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/schema/schema_generated.h"
#include "tensorflow/lite/version.h"
namespace tflite { namespace tflite {
namespace xnnpack { namespace xnnpack {

View File

@ -17,17 +17,11 @@ limitations under the License.
#define TENSORFLOW_LITE_DELEGATES_XNNPACK_UNARY_ELEMENTWISE_TESTER_H_ #define TENSORFLOW_LITE_DELEGATES_XNNPACK_UNARY_ELEMENTWISE_TESTER_H_
#include <cstdint> #include <cstdint>
#include <functional>
#include <random>
#include <vector> #include <vector>
#include <gtest/gtest.h> #include <gtest/gtest.h>
#include "flatbuffers/flatbuffers.h" // from @flatbuffers #include "tensorflow/lite/c/common.h"
#include "tensorflow/lite/interpreter.h"
#include "tensorflow/lite/kernels/register.h"
#include "tensorflow/lite/model.h"
#include "tensorflow/lite/schema/schema_generated.h" #include "tensorflow/lite/schema/schema_generated.h"
#include "tensorflow/lite/version.h"
namespace tflite { namespace tflite {
namespace xnnpack { namespace xnnpack {