Fixed typos
This commit is contained in:
parent
c0fed7df31
commit
bf91c52407
|
@ -48,16 +48,16 @@ typedef NS_ENUM(NSUInteger, MPPTasksErrorCode) {
|
||||||
MPPTasksErrorCodeFileReadError,
|
MPPTasksErrorCodeFileReadError,
|
||||||
// I/O error when mmap-ing file.
|
// I/O error when mmap-ing file.
|
||||||
MPPTasksErrorCodeFileMmapError,
|
MPPTasksErrorCodeFileMmapError,
|
||||||
// ZIP I/O error when unpacMPPTasksErrorCodeing the zip file.
|
// ZIP I/O error when unpacking the zip file.
|
||||||
MPPTasksErrorCodeFileZipError,
|
MPPTasksErrorCodeFileZipError,
|
||||||
|
|
||||||
// TensorFlow Lite metadata error codes.
|
// TensorFlow Lite metadata error codes.
|
||||||
|
|
||||||
// Unexpected schema version (aMPPTasksErrorCodea file_identifier) in the Metadata FlatBuffer.
|
// Unexpected schema version (aka file_identifier) in the Metadata FlatBuffer.
|
||||||
MPPTasksErrorCodeMetadataInvalidSchemaVersionError = 200,
|
MPPTasksErrorCodeMetadataInvalidSchemaVersionError = 200,
|
||||||
// No such associated file within metadata, or file has not been pacMPPTasksErrorCodeed.
|
// No such associated file within metadata, or file has not been packed.
|
||||||
MPPTasksErrorCodeMetadataAssociatedFileNotFoundError,
|
MPPTasksErrorCodeMetadataAssociatedFileNotFoundError,
|
||||||
// ZIP I/O error when unpacMPPTasksErrorCodeing an associated file.
|
// ZIP I/O error when unpacking an associated file.
|
||||||
MPPTasksErrorCodeMetadataAssociatedFileZipError,
|
MPPTasksErrorCodeMetadataAssociatedFileZipError,
|
||||||
// Inconsistency error between the metadata and actual TF Lite model.
|
// Inconsistency error between the metadata and actual TF Lite model.
|
||||||
// E.g.: number of labels and output tensor values differ.
|
// E.g.: number of labels and output tensor values differ.
|
||||||
|
@ -167,11 +167,10 @@ typedef NS_ENUM(NSUInteger, MPPTasksErrorCode) {
|
||||||
// Task graph config is invalid.
|
// Task graph config is invalid.
|
||||||
MPPTasksErrorCodeInvalidTaskGraphConfigError,
|
MPPTasksErrorCodeInvalidTaskGraphConfigError,
|
||||||
|
|
||||||
|
// The first error code in MPPTasksErrorCode (for internal use only).
|
||||||
MPPTasksErrorCodeFirst = MPPTasksErrorCodeError,
|
MPPTasksErrorCodeFirst = MPPTasksErrorCodeError,
|
||||||
|
|
||||||
/**
|
// The last error code in MPPTasksErrorCode (for internal use only).
|
||||||
* The last error code in TFLSupportErrorCode (for internal use only).
|
|
||||||
*/
|
|
||||||
MPPTasksErrorCodeLast = MPPTasksErrorCodeInvalidTaskGraphConfigError,
|
MPPTasksErrorCodeLast = MPPTasksErrorCodeInvalidTaskGraphConfigError,
|
||||||
|
|
||||||
} NS_SWIFT_NAME(TasksErrorCode);
|
} NS_SWIFT_NAME(TasksErrorCode);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user