Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit adc1f86

Browse files
authored
Sync from tflite-micro. (#137)
1 parent 6c3fbe4 commit adc1f86

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/tensorflow/lite/c/c_api_types.h

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,13 @@ typedef enum TfLiteStatus {
7777
// resolved at runtime. This could happen when the specific op is not
7878
// registered or built with the TF Lite framework.
7979
kTfLiteUnresolvedOps = 7,
80+
81+
// Generally referring to invocation cancelled by the user.
82+
// See `interpreter::Cancel`.
83+
// TODO(b/194915839): Implement `interpreter::Cancel`.
84+
// TODO(b/250636993): Cancellation triggered by `SetCancellationFunction`
85+
// should also return this status code.
86+
kTfLiteCancelled = 8,
8087
} TfLiteStatus;
8188

8289
// Types supported by tensor

0 commit comments

Comments
 (0)