From a4a3a9e906b880269fad71adcaf67514c735f6fc Mon Sep 17 00:00:00 2001 From: TFLM-bot Date: Fri, 27 Sep 2024 14:02:51 +0000 Subject: [PATCH] Sync from upstream TF. --- tensorflow/lite/core/c/c_api_types.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tensorflow/lite/core/c/c_api_types.h b/tensorflow/lite/core/c/c_api_types.h index f0b76bde02..79a0031970 100644 --- a/tensorflow/lite/core/c/c_api_types.h +++ b/tensorflow/lite/core/c/c_api_types.h @@ -110,6 +110,13 @@ typedef enum TfLiteStatus { // TODO(b/250636993): Cancellation triggered by `SetCancellationFunction` // should also return this status code. kTfLiteCancelled = 8, + + // This status is returned by Prepare when the output shape cannot be + // determined but the size of the output tensor is known. For example, the + // output of reshape is always the same size as the input. This means that + // such ops may be + // done in place. + kTfLiteOutputShapeNotKnown = 9, } TfLiteStatus; /// Types supported by tensor