react-native-executorch
Version:
An easy way to run AI models in react native with ExecuTorch
26 lines • 707 B
TypeScript
export declare enum ETError {
UndefinedError = 101,
ModuleNotLoaded = 102,
FileWriteFailed = 103,
ModelGenerating = 104,
LanguageNotSupported = 105,
InvalidModelSource = 255,
Ok = 0,
Internal = 1,
InvalidState = 2,
EndOfMethod = 3,
NotSupported = 16,
NotImplemented = 17,
InvalidArgument = 18,
InvalidType = 19,
OperatorMissing = 20,
NotFound = 32,
MemoryAllocationFailed = 33,
AccessFailed = 34,
InvalidProgram = 35,
DelegateInvalidCompatibility = 48,
DelegateMemoryAllocationFailed = 49,
DelegateInvalidHandle = 50
}
export declare const getError: (e: unknown | ETError) => string;
//# sourceMappingURL=Error.d.ts.map