From 983cbdbe615b010fbac14d4ea7ff4b265fc802b8 Mon Sep 17 00:00:00 2001 From: Juhyun Lee Date: Tue, 14 Apr 2020 20:41:08 -0700 Subject: [PATCH] Remove stddef.h from model_builder. PiperOrigin-RevId: 306569682 Change-Id: I702bd924cd8cca4103659a341f5c31ebdc3b5978 --- tensorflow/lite/delegates/gpu/common/model_builder.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tensorflow/lite/delegates/gpu/common/model_builder.cc b/tensorflow/lite/delegates/gpu/common/model_builder.cc index b501808811e..8e05216a3f2 100644 --- a/tensorflow/lite/delegates/gpu/common/model_builder.cc +++ b/tensorflow/lite/delegates/gpu/common/model_builder.cc @@ -15,8 +15,6 @@ limitations under the License. #include "tensorflow/lite/delegates/gpu/common/model_builder.h" -#include - #include #include #include @@ -582,7 +580,7 @@ absl::Status MaybeFuseActivation(TfLiteFusedActivation fused_activation, if (fused_activation == kTfLiteActNone) { return absl::OkStatus(); } - const auto& outputs = graph->FindOutputs(node->id); + const auto outputs = graph->FindOutputs(node->id); if (outputs.empty()) { return absl::InternalError("Empty outputs in fused node"); }