UNPKG

react-native-executorch

Version:

An easy way to run AI models in react native with ExecuTorch

29 lines 811 B
export declare enum ETError { UndefinedError = 101, ModuleNotLoaded = 102, FileWriteFailed = 103, ModelGenerating = 104, LanguageNotSupported = 105, InvalidModelSource = 255, MultilingualConfiguration = 160, MissingDataChunk = 161, StreamingNotStarted = 162, 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 | Error) => string; //# sourceMappingURL=Error.d.ts.map