Skip to content
heliaRT
API reference
HELIA HUB

TfLiteStatus

Status values returned by runtime operations.

Machine-readable model

enum

Note that new error status values may be added in future in order to indicate more fine-grained internal states, therefore, applications should not rely on sta…

tensorflow/lite/core/c/c_api_types.h:74

enum TfLiteStatus

Note that new error status values may be added in future in order to indicate more fine-grained internal states, therefore, applications should not rely on status values being members of the enum.

constant

Generally referring to an error in applying a delegate due to incompatibility between runtime and delegate, e.g., this error is returned when trying to apply a…

tensorflow/lite/core/c/c_api_types.h:74

kTfLiteApplicationError = 3

Generally referring to an error in applying a delegate due to incompatibility between runtime and delegate, e.g., this error is returned when trying to apply a TF Lite delegate onto a model graph that’s already immutable.

constant

Generally referring to issues when the TF Lite model has ops that cannot be resolved at runtime.

tensorflow/lite/core/c/c_api_types.h:74

kTfLiteUnresolvedOps = 7

Generally referring to issues when the TF Lite model has ops that cannot be resolved at runtime. This could happen when the specific op is not registered or built with the TF Lite framework.

constant

Generally referring to invocation cancelled by the user.

tensorflow/lite/core/c/c_api_types.h:74

kTfLiteCancelled = 8

Generally referring to invocation cancelled by the user. See interpreter::Cancel. TODO(b/194915839): Implement interpreter::Cancel. TODO(b/250636993): Cancellation triggered by SetCancellationFunction should also return this status code.

constant

This status is returned by Prepare when the output shape cannot be determined but the size of the output tensor is known.

tensorflow/lite/core/c/c_api_types.h:74

kTfLiteOutputShapeNotKnown = 9

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.