UNPKG

react-native-executorch

Version:

An easy way to run AI models in React Native with ExecuTorch

32 lines 891 B
export declare enum ETError { UndefinedError = 101, ModuleNotLoaded = 102, FileWriteFailed = 103, ModelGenerating = 104, LanguageNotSupported = 105, InvalidConfig = 112, 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, InvalidExternalData = 36, OutOfResources = 37, DelegateInvalidCompatibility = 48, DelegateMemoryAllocationFailed = 49, DelegateInvalidHandle = 50 } export declare const getError: (e: unknown | ETError | Error) => string; //# sourceMappingURL=Error.d.ts.map