From 95da7a8cd2f5236da0e0d414bd812bc33e4708d5 Mon Sep 17 00:00:00 2001 From: TFLM-bot Date: Mon, 12 Aug 2024 10:40:54 -0700 Subject: [PATCH] Automated sync from github.com/tensorflow/tensorflow (#2662) BUG=automated sync from upstream NO_CHECK_TFLITE_FILES=automated sync from upstream --- tensorflow/lite/core/c/common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tensorflow/lite/core/c/common.h b/tensorflow/lite/core/c/common.h index 96f19f12336..648b8623960 100644 --- a/tensorflow/lite/core/c/common.h +++ b/tensorflow/lite/core/c/common.h @@ -100,7 +100,9 @@ typedef struct TfLiteExternalContext { TfLiteStatus (*Refresh)(struct TfLiteContext* context); } TfLiteExternalContext; +// LINT.IfChange(optional_tensor) #define kTfLiteOptionalTensor (-1) +// LINT.ThenChange(//tensorflow/compiler/mlir/lite/flatbuffer_export.cc:optional_tensor) /// Fixed size list of integers. Used for dimensions and inputs/outputs tensor /// indices