clang-format + fix missing header that caused a build-error after clang-formatting.
diff --git a/tensorflow/lite/micro/kernels/svdf.cc b/tensorflow/lite/micro/kernels/svdf.cc
index ec8e142..1b797a2 100644
--- a/tensorflow/lite/micro/kernels/svdf.cc
+++ b/tensorflow/lite/micro/kernels/svdf.cc
@@ -13,6 +13,8 @@
limitations under the License.
==============================================================================*/
+#include "tensorflow/lite/micro/kernels/svdf.h"
+
#include <math.h>
#include "tensorflow/lite/c/builtin_op_data.h"
@@ -24,7 +26,6 @@
#include "tensorflow/lite/kernels/op_macros.h"
#include "tensorflow/lite/micro/kernels/activation_utils.h"
#include "tensorflow/lite/micro/kernels/kernel_util.h"
-#include "tensorflow/lite/micro/kernels/svdf.h"
#include "tensorflow/lite/micro/micro_utils.h"
namespace tflite {
diff --git a/tensorflow/lite/micro/kernels/svdf.h b/tensorflow/lite/micro/kernels/svdf.h
index 2bd0d16..b10ede6 100644
--- a/tensorflow/lite/micro/kernels/svdf.h
+++ b/tensorflow/lite/micro/kernels/svdf.h
@@ -15,6 +15,7 @@
#ifndef TENSORFLOW_LITE_MICRO_KERNELS_SVDF_H_
#define TENSORFLOW_LITE_MICRO_KERNELS_SVDF_H_
+#include "tensorflow/lite/c/builtin_op_data.h"
#include "tensorflow/lite/c/common.h"
namespace tflite {
@@ -34,7 +35,6 @@
int output_zero_point;
};
-
// TensorflowLite Micro-specific reference implementation for Integer SVDF.
void EvalIntegerSvdfReference(TfLiteContext* context, TfLiteNode* node,
const TfLiteEvalTensor* input_tensor,
diff --git a/tensorflow/lite/micro/kernels/svdf_common.cc b/tensorflow/lite/micro/kernels/svdf_common.cc
index 06512e8..5c66d2c 100644
--- a/tensorflow/lite/micro/kernels/svdf_common.cc
+++ b/tensorflow/lite/micro/kernels/svdf_common.cc
@@ -12,7 +12,6 @@
#include "tensorflow/lite/micro/kernels/svdf.h"
#include "tensorflow/lite/micro/micro_utils.h"
-
namespace tflite {
void EvalIntegerSvdfReference(TfLiteContext* context, TfLiteNode* node,
diff --git a/tensorflow/lite/micro/kernels/xtensa/svdf.cc b/tensorflow/lite/micro/kernels/xtensa/svdf.cc
index 5c3e14b..33489e6 100644
--- a/tensorflow/lite/micro/kernels/xtensa/svdf.cc
+++ b/tensorflow/lite/micro/kernels/xtensa/svdf.cc
@@ -13,6 +13,8 @@
limitations under the License.
==============================================================================*/
+#include "tensorflow/lite/micro/kernels/svdf.h"
+
#include <math.h>
#include <xtensa/tie/xt_hifi2.h>
@@ -25,7 +27,6 @@
#include "tensorflow/lite/kernels/op_macros.h"
#include "tensorflow/lite/micro/kernels/activation_utils.h"
#include "tensorflow/lite/micro/kernels/kernel_util.h"
-#include "tensorflow/lite/micro/kernels/svdf.h"
#include "tensorflow/lite/micro/kernels/xtensa/fixedpoint_utils.h"
namespace tflite {
@@ -398,8 +399,8 @@
EvalIntegerSVDF(context, node, input, weights_feature, weights_time, bias,
params, activation_state, output, data);
#else
- EvalIntegerSvdfReference(context, node, input, weights_feature, weights_time, bias,
- params, activation_state, output, data);
+ EvalIntegerSvdfReference(context, node, input, weights_feature, weights_time,
+ bias, params, activation_state, output, data);
#endif
return kTfLiteOk;
}