react-native-executorch 0.10.0-nightly-2558259-20260906 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +426 -0
- package/README.md +71 -129
- package/android/CMakeLists.txt +201 -22
- package/android/build.gradle.kts +157 -0
- package/android/cpp-adapter.cpp +8 -0
- package/android/src/main/AndroidManifest.xml +1 -2
- package/android/src/main/java/com/swmansion/rnexecutorch/ETInstaller.kt +8 -1
- package/android/src/main/java/com/swmansion/rnexecutorch/ETInstallerUnavailable.kt +3 -0
- package/android/src/main/java/com/swmansion/rnexecutorch/RnExecutorchModule.kt +28 -0
- package/android/src/main/java/com/swmansion/rnexecutorch/RnExecutorchPackage.kt +39 -30
- package/android/src/main/java/com/swmansion/rnexecutorch/RnExecutorchSpec.kt +7 -0
- package/cpp/RnExecutorch.cpp +30 -0
- package/cpp/RnExecutorch.h +16 -0
- package/cpp/core/conversions.cpp +121 -0
- package/cpp/core/conversions.h +253 -0
- package/cpp/core/dtype.cpp +91 -0
- package/cpp/core/dtype.h +64 -0
- package/cpp/core/error.cpp +19 -0
- package/cpp/core/error.h +148 -0
- package/cpp/core/install.cpp +13 -0
- package/cpp/core/install.h +7 -0
- package/cpp/core/model.cpp +353 -0
- package/cpp/core/model.h +76 -0
- package/cpp/core/schema.cpp +541 -0
- package/cpp/core/schema.h +292 -0
- package/cpp/core/tensor.cpp +268 -0
- package/cpp/core/tensor.h +61 -0
- package/cpp/core/tensor_helpers.cpp +163 -0
- package/cpp/core/tensor_helpers.h +144 -0
- package/cpp/core/utils.cpp +108 -0
- package/cpp/core/utils.h +24 -0
- package/cpp/extensions/cv/box_ops.cpp +272 -0
- package/cpp/extensions/cv/box_ops.h +8 -0
- package/cpp/extensions/cv/image_ops.cpp +513 -0
- package/cpp/extensions/cv/image_ops.h +13 -0
- package/cpp/extensions/cv/install.cpp +27 -0
- package/cpp/extensions/cv/install.h +7 -0
- package/cpp/extensions/cv/ocr_ops.cpp +164 -0
- package/cpp/extensions/cv/ocr_ops.h +7 -0
- package/cpp/extensions/cv/utils.h +32 -0
- package/cpp/extensions/llm/install.cpp +14 -0
- package/cpp/extensions/llm/install.h +7 -0
- package/cpp/extensions/llm/llm_runner.cpp +528 -0
- package/cpp/extensions/llm/llm_runner.h +83 -0
- package/cpp/extensions/math/install.cpp +18 -0
- package/cpp/extensions/math/install.h +7 -0
- package/cpp/extensions/math/operations.cpp +326 -0
- package/cpp/extensions/math/operations.h +11 -0
- package/cpp/extensions/nlp/install.cpp +14 -0
- package/cpp/extensions/nlp/install.h +7 -0
- package/cpp/extensions/nlp/tokenizer.cpp +242 -0
- package/cpp/extensions/nlp/tokenizer.h +59 -0
- package/cpp/extensions/speech/install.cpp +21 -0
- package/cpp/extensions/speech/install.h +7 -0
- package/cpp/extensions/speech/operations.cpp +101 -0
- package/cpp/extensions/speech/operations.h +7 -0
- package/cpp/extensions/speech/phonemizer.cpp +124 -0
- package/cpp/extensions/speech/phonemizer.h +45 -0
- package/ios/RnExecutorch.h +5 -0
- package/ios/RnExecutorch.mm +35 -0
- package/legacy/android/ETInstaller.kt +66 -0
- package/legacy/android/ETInstallerModule.cpp +80 -0
- package/legacy/android/ETInstallerModule.h +42 -0
- package/legacy/android/ETInstallerUnavailable.kt +27 -0
- package/legacy/android/EmulatorDetection.h +36 -0
- package/legacy/cpp/ada/ada.cpp +17406 -0
- package/legacy/cpp/ada/ada.h +10344 -0
- package/legacy/cpp/pfft/pfft.c +2205 -0
- package/legacy/cpp/pfft/pfft.h +187 -0
- package/legacy/cpp/rnexecutorch/Error.h +75 -0
- package/legacy/cpp/rnexecutorch/ErrorCodes.h +129 -0
- package/legacy/cpp/rnexecutorch/Log.h +498 -0
- package/legacy/cpp/rnexecutorch/RnExecutorchInstaller.cpp +143 -0
- package/legacy/cpp/rnexecutorch/RnExecutorchInstaller.h +116 -0
- package/legacy/cpp/rnexecutorch/TokenizerModule.cpp +106 -0
- package/legacy/cpp/rnexecutorch/TokenizerModule.h +33 -0
- package/legacy/cpp/rnexecutorch/data_processing/FFT.cpp +21 -0
- package/legacy/cpp/rnexecutorch/data_processing/FFT.h +23 -0
- package/legacy/cpp/rnexecutorch/data_processing/FileUtils.h +33 -0
- package/legacy/cpp/rnexecutorch/data_processing/ImageProcessing.cpp +261 -0
- package/legacy/cpp/rnexecutorch/data_processing/Numerical.cpp +116 -0
- package/legacy/cpp/rnexecutorch/data_processing/Sequential.h +53 -0
- package/legacy/cpp/rnexecutorch/data_processing/base64.cpp +110 -0
- package/legacy/cpp/rnexecutorch/data_processing/base64.h +46 -0
- package/legacy/cpp/rnexecutorch/data_processing/dsp.cpp +22 -0
- package/legacy/cpp/rnexecutorch/data_processing/gzip.cpp +51 -0
- package/legacy/cpp/rnexecutorch/host_objects/JSTensorViewIn.h +15 -0
- package/legacy/cpp/rnexecutorch/host_objects/JSTensorViewOut.h +22 -0
- package/legacy/cpp/rnexecutorch/host_objects/JsiConversions.h +746 -0
- package/legacy/cpp/rnexecutorch/host_objects/ModelHostObject.h +470 -0
- package/legacy/cpp/rnexecutorch/jsi/JsiHostObject.cpp +108 -0
- package/legacy/cpp/rnexecutorch/jsi/JsiHostObject.h +90 -0
- package/legacy/cpp/rnexecutorch/jsi/OwningArrayBuffer.h +57 -0
- package/legacy/cpp/rnexecutorch/jsi/Promise.cpp +23 -0
- package/legacy/cpp/rnexecutorch/jsi/Promise.h +70 -0
- package/legacy/cpp/rnexecutorch/jsi/RuntimeAwareCache.h +58 -0
- package/legacy/cpp/rnexecutorch/jsi/RuntimeLifecycleMonitor.cpp +53 -0
- package/legacy/cpp/rnexecutorch/jsi/RuntimeLifecycleMonitor.h +35 -0
- package/legacy/cpp/rnexecutorch/metaprogramming/ConstructorHelpers.h +138 -0
- package/legacy/cpp/rnexecutorch/metaprogramming/ContainerHelpers.h +32 -0
- package/legacy/cpp/rnexecutorch/metaprogramming/FunctionHelpers.h +102 -0
- package/legacy/cpp/rnexecutorch/metaprogramming/TypeConcepts.h +52 -0
- package/legacy/cpp/rnexecutorch/models/BaseModel.cpp +179 -0
- package/legacy/cpp/rnexecutorch/models/BaseModel.h +64 -0
- package/legacy/cpp/rnexecutorch/models/VisionModel.cpp +54 -0
- package/legacy/cpp/rnexecutorch/models/VisionModel.h +156 -0
- package/legacy/cpp/rnexecutorch/models/classification/Classification.cpp +118 -0
- package/legacy/cpp/rnexecutorch/models/classification/Classification.h +52 -0
- package/legacy/cpp/rnexecutorch/models/embeddings/BaseEmbeddings.cpp +19 -0
- package/legacy/cpp/rnexecutorch/models/embeddings/BaseEmbeddings.h +17 -0
- package/legacy/cpp/rnexecutorch/models/embeddings/image/ImageEmbeddings.cpp +72 -0
- package/legacy/cpp/rnexecutorch/models/embeddings/image/ImageEmbeddings.h +41 -0
- package/legacy/cpp/rnexecutorch/models/embeddings/text/TextEmbeddings.cpp +64 -0
- package/legacy/cpp/rnexecutorch/models/embeddings/text/TextEmbeddings.h +36 -0
- package/legacy/cpp/rnexecutorch/models/instance_segmentation/BaseInstanceSegmentation.cpp +376 -0
- package/legacy/cpp/rnexecutorch/models/instance_segmentation/BaseInstanceSegmentation.h +109 -0
- package/legacy/cpp/rnexecutorch/models/instance_segmentation/Types.h +33 -0
- package/legacy/cpp/rnexecutorch/models/llm/LLM.cpp +304 -0
- package/legacy/cpp/rnexecutorch/models/llm/LLM.h +55 -0
- package/legacy/cpp/rnexecutorch/models/llm/Types.h +23 -0
- package/legacy/cpp/rnexecutorch/models/object_detection/Constants.h +5 -0
- package/legacy/cpp/rnexecutorch/models/object_detection/ObjectDetection.cpp +231 -0
- package/legacy/cpp/rnexecutorch/models/object_detection/ObjectDetection.h +165 -0
- package/legacy/cpp/rnexecutorch/models/object_detection/Types.h +22 -0
- package/legacy/cpp/rnexecutorch/models/ocr/CTCLabelConverter.cpp +93 -0
- package/legacy/cpp/rnexecutorch/models/ocr/CTCLabelConverter.h +29 -0
- package/legacy/cpp/rnexecutorch/models/ocr/Detector.cpp +122 -0
- package/legacy/cpp/rnexecutorch/models/ocr/Detector.h +37 -0
- package/legacy/cpp/rnexecutorch/models/ocr/OCR.cpp +99 -0
- package/legacy/cpp/rnexecutorch/models/ocr/OCR.h +52 -0
- package/legacy/cpp/rnexecutorch/models/ocr/RecognitionHandler.cpp +96 -0
- package/legacy/cpp/rnexecutorch/models/ocr/RecognitionHandler.h +38 -0
- package/legacy/cpp/rnexecutorch/models/ocr/Recognizer.cpp +78 -0
- package/legacy/cpp/rnexecutorch/models/ocr/Recognizer.h +36 -0
- package/legacy/cpp/rnexecutorch/models/ocr/Types.h +32 -0
- package/legacy/cpp/rnexecutorch/models/ocr/utils/DetectorUtils.cpp +661 -0
- package/legacy/cpp/rnexecutorch/models/ocr/utils/RecognitionHandlerUtils.cpp +159 -0
- package/legacy/cpp/rnexecutorch/models/ocr/utils/RecognizerUtils.cpp +222 -0
- package/legacy/cpp/rnexecutorch/models/pose_estimation/PoseEstimation.cpp +180 -0
- package/legacy/cpp/rnexecutorch/models/pose_estimation/PoseEstimation.h +49 -0
- package/legacy/cpp/rnexecutorch/models/privacy_filter/PrivacyFilter.cpp +212 -0
- package/legacy/cpp/rnexecutorch/models/privacy_filter/PrivacyFilter.h +54 -0
- package/legacy/cpp/rnexecutorch/models/privacy_filter/Types.h +15 -0
- package/legacy/cpp/rnexecutorch/models/privacy_filter/Viterbi.cpp +153 -0
- package/legacy/cpp/rnexecutorch/models/privacy_filter/Viterbi.h +41 -0
- package/legacy/cpp/rnexecutorch/models/semantic_segmentation/BaseSemanticSegmentation.cpp +246 -0
- package/legacy/cpp/rnexecutorch/models/semantic_segmentation/BaseSemanticSegmentation.h +68 -0
- package/legacy/cpp/rnexecutorch/models/semantic_segmentation/Types.h +17 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/SpeechToText.cpp +216 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/SpeechToText.h +79 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/common/schema/ASR.h +41 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/common/schema/OnlineASR.h +44 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/common/types/GenerationResult.h +22 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/common/types/Options.h +27 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/common/types/ProcessResult.h +23 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/common/types/Segment.h +20 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/common/types/Token.h +9 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/common/types/TranscriptionResult.h +16 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/common/types/Word.h +17 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/whisper/ASR.cpp +479 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/whisper/ASR.h +169 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/whisper/Constants.h +45 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/whisper/OnlineASR.cpp +307 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/whisper/OnlineASR.h +92 -0
- package/legacy/cpp/rnexecutorch/models/speech_to_text/whisper/Utils.h +22 -0
- package/legacy/cpp/rnexecutorch/models/style_transfer/StyleTransfer.cpp +101 -0
- package/legacy/cpp/rnexecutorch/models/style_transfer/StyleTransfer.h +41 -0
- package/legacy/cpp/rnexecutorch/models/style_transfer/Types.h +19 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/Decoder.cpp +34 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/Decoder.h +24 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/Encoder.cpp +44 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/Encoder.h +32 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/Scheduler.cpp +155 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/Scheduler.h +41 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/TextToImage.cpp +150 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/TextToImage.h +64 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/UNet.cpp +36 -0
- package/legacy/cpp/rnexecutorch/models/text_to_image/UNet.h +28 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/TextToSpeech.h +3 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Constants.h +71 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/DurationPredictor.cpp +216 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/DurationPredictor.h +78 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Kokoro.cpp +443 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Kokoro.h +129 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Params.h +109 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Partitioner.cpp +133 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Partitioner.h +88 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Synthesizer.cpp +113 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Synthesizer.h +61 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Types.h +31 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Utils.cpp +108 -0
- package/legacy/cpp/rnexecutorch/models/text_to_speech/kokoro/Utils.h +27 -0
- package/legacy/cpp/rnexecutorch/models/vertical_ocr/VerticalDetector.cpp +88 -0
- package/legacy/cpp/rnexecutorch/models/vertical_ocr/VerticalDetector.h +50 -0
- package/legacy/cpp/rnexecutorch/models/vertical_ocr/VerticalOCR.cpp +226 -0
- package/legacy/cpp/rnexecutorch/models/vertical_ocr/VerticalOCR.h +92 -0
- package/legacy/cpp/rnexecutorch/models/voice_activity_detection/Types.h +12 -0
- package/legacy/cpp/rnexecutorch/models/voice_activity_detection/Utils.cpp +42 -0
- package/legacy/cpp/rnexecutorch/models/voice_activity_detection/VoiceActivityDetection.cpp +253 -0
- package/legacy/cpp/rnexecutorch/models/voice_activity_detection/VoiceActivityDetection.h +76 -0
- package/legacy/cpp/rnexecutorch/threads/GlobalThreadPool.h +84 -0
- package/legacy/cpp/rnexecutorch/threads/HighPerformanceThreadPool.h +370 -0
- package/legacy/cpp/rnexecutorch/threads/utils/ThreadUtils.h +29 -0
- package/legacy/cpp/rnexecutorch/utils/FrameExtractor.cpp +112 -0
- package/legacy/cpp/rnexecutorch/utils/FrameProcessor.cpp +91 -0
- package/legacy/cpp/rnexecutorch/utils/FrameTransform.cpp +129 -0
- package/legacy/cpp/rnexecutorch/utils/FrameTransform.h +138 -0
- package/legacy/cpp/rnexecutorch/utils/computer_vision/Processing.cpp +20 -0
- package/legacy/cpp/rnexecutorch/utils/computer_vision/Processing.h +51 -0
- package/legacy/cpp/rnexecutorch/utils/computer_vision/Types.h +35 -0
- package/legacy/cpp/runner/arange_util.cpp +44 -0
- package/legacy/cpp/runner/arange_util.h +37 -0
- package/legacy/cpp/runner/base_llm_runner.cpp +190 -0
- package/legacy/cpp/runner/base_llm_runner.h +96 -0
- package/legacy/cpp/runner/constants.h +44 -0
- package/legacy/cpp/runner/encoders/audio_encoder.cpp +116 -0
- package/legacy/cpp/runner/encoders/audio_encoder.h +45 -0
- package/legacy/cpp/runner/encoders/iencoder.h +25 -0
- package/legacy/cpp/runner/encoders/vision_encoder.cpp +150 -0
- package/legacy/cpp/runner/encoders/vision_encoder.h +56 -0
- package/legacy/cpp/runner/io_manager.h +245 -0
- package/legacy/cpp/runner/irunner.h +148 -0
- package/legacy/cpp/runner/kernel_includes.h +23 -0
- package/legacy/cpp/runner/multimodal_decoder_runner.h +119 -0
- package/legacy/cpp/runner/multimodal_input.h +84 -0
- package/legacy/cpp/runner/multimodal_prefiller.cpp +464 -0
- package/legacy/cpp/runner/multimodal_prefiller.h +99 -0
- package/legacy/cpp/runner/multimodal_runner.cpp +140 -0
- package/legacy/cpp/runner/multimodal_runner.h +47 -0
- package/legacy/cpp/runner/sampler.cpp +317 -0
- package/legacy/cpp/runner/sampler.h +139 -0
- package/legacy/cpp/runner/stats.h +214 -0
- package/legacy/cpp/runner/text_decoder_runner.cpp +117 -0
- package/legacy/cpp/runner/text_decoder_runner.h +85 -0
- package/legacy/cpp/runner/text_prefiller.cpp +133 -0
- package/legacy/cpp/runner/text_prefiller.h +89 -0
- package/legacy/cpp/runner/text_runner.cpp +161 -0
- package/legacy/cpp/runner/text_runner.h +39 -0
- package/legacy/cpp/runner/text_token_generator.h +217 -0
- package/legacy/cpp/runner/util.h +180 -0
- package/legacy/ios/ETInstaller.mm +60 -0
- package/legacy/package.json +5 -0
- package/legacy/src/constants/llmDefaults.ts +48 -0
- package/legacy/src/constants/modelRegistry.ts +741 -0
- package/legacy/src/constants/modelUrls.ts +1422 -0
- package/legacy/src/constants/ocr/models.ts +341 -0
- package/legacy/src/constants/privacyFilterLabels.ts +285 -0
- package/legacy/src/constants/resourceFetcher.ts +3 -0
- package/legacy/src/constants/tts/models.ts +38 -0
- package/legacy/src/constants/tts/voices.ts +302 -0
- package/legacy/src/constants/versions.ts +10 -0
- package/legacy/src/controllers/BaseOCRController.ts +153 -0
- package/legacy/src/controllers/LLMController.ts +516 -0
- package/legacy/src/controllers/OCRController.ts +23 -0
- package/legacy/src/errors/errorUtils.ts +77 -0
- package/legacy/src/hooks/computer_vision/useClassification.ts +43 -0
- package/legacy/src/hooks/computer_vision/useImageEmbeddings.ts +36 -0
- package/legacy/src/hooks/computer_vision/useInstanceSegmentation.ts +69 -0
- package/legacy/src/hooks/computer_vision/useOCR.ts +73 -0
- package/legacy/src/hooks/computer_vision/useObjectDetection.ts +50 -0
- package/legacy/src/hooks/computer_vision/usePoseEstimation.ts +48 -0
- package/legacy/src/hooks/computer_vision/useSemanticSegmentation.ts +54 -0
- package/legacy/src/hooks/computer_vision/useStyleTransfer.ts +38 -0
- package/legacy/src/hooks/computer_vision/useTextToImage.ts +111 -0
- package/legacy/src/hooks/computer_vision/useVerticalOCR.ts +85 -0
- package/legacy/src/hooks/general/useExecutorchModule.ts +20 -0
- package/legacy/src/hooks/natural_language_processing/useLLM.ts +149 -0
- package/legacy/src/hooks/natural_language_processing/usePrivacyFilter.ts +27 -0
- package/legacy/src/hooks/natural_language_processing/useSpeechToText.ts +185 -0
- package/legacy/src/hooks/natural_language_processing/useTextEmbeddings.ts +26 -0
- package/legacy/src/hooks/natural_language_processing/useTextToSpeech.ts +164 -0
- package/legacy/src/hooks/natural_language_processing/useTokenizer.ts +67 -0
- package/legacy/src/hooks/natural_language_processing/useVAD.ts +40 -0
- package/legacy/src/hooks/useModule.ts +146 -0
- package/legacy/src/hooks/useModuleFactory.ts +115 -0
- package/legacy/src/index.ts +264 -0
- package/legacy/src/modules/BaseModule.ts +88 -0
- package/legacy/src/modules/computer_vision/ClassificationModule.ts +136 -0
- package/legacy/src/modules/computer_vision/ImageEmbeddingsModule.ts +69 -0
- package/legacy/src/modules/computer_vision/InstanceSegmentationModule.ts +467 -0
- package/legacy/src/modules/computer_vision/OCRModule.ts +100 -0
- package/legacy/src/modules/computer_vision/ObjectDetectionModule.ts +336 -0
- package/legacy/src/modules/computer_vision/PoseEstimationModule.ts +309 -0
- package/legacy/src/modules/computer_vision/SemanticSegmentationModule.ts +193 -0
- package/legacy/src/modules/computer_vision/StyleTransferModule.ts +84 -0
- package/legacy/src/modules/computer_vision/TextToImageModule.ts +164 -0
- package/legacy/src/modules/computer_vision/VerticalOCRModule.ts +105 -0
- package/legacy/src/modules/computer_vision/VisionLabeledModule.ts +51 -0
- package/legacy/src/modules/computer_vision/VisionModule.ts +149 -0
- package/legacy/src/modules/general/ExecutorchModule.ts +47 -0
- package/legacy/src/modules/natural_language_processing/LLMModule.ts +236 -0
- package/legacy/src/modules/natural_language_processing/PrivacyFilterModule.ts +135 -0
- package/legacy/src/modules/natural_language_processing/SpeechToTextModule.ts +277 -0
- package/legacy/src/modules/natural_language_processing/TextEmbeddingsModule.ts +87 -0
- package/legacy/src/modules/natural_language_processing/TextToSpeechModule.ts +221 -0
- package/legacy/src/modules/natural_language_processing/TokenizerModule.ts +92 -0
- package/legacy/src/modules/natural_language_processing/VADModule.ts +151 -0
- package/legacy/src/native/NativeETInstaller.ts +8 -0
- package/legacy/src/native/RnExecutorchModules.ts +27 -0
- package/legacy/src/types/computerVision.ts +23 -0
- package/legacy/src/types/instanceSegmentation.ts +212 -0
- package/legacy/src/types/llm.ts +425 -0
- package/legacy/src/types/poseEstimation.ts +160 -0
- package/legacy/src/types/semanticSegmentation.ts +176 -0
- package/legacy/src/types/stt.ts +307 -0
- package/legacy/src/types/textEmbeddings.ts +76 -0
- package/legacy/src/types/tokenizer.ts +81 -0
- package/legacy/src/types/tti.ts +96 -0
- package/legacy/src/types/tts.ts +201 -0
- package/legacy/src/utils/BaseResourceFetcherClass.ts +226 -0
- package/legacy/src/utils/ResourceFetcher.ts +142 -0
- package/legacy/src/utils/ResourceFetcherUtils.ts +207 -0
- package/legacy/src/utils/labelUtils.ts +10 -0
- package/legacy/src/utils/llm.ts +117 -0
- package/legacy/src/utils/llms/context_strategy/SlidingWindowContextStrategy.ts +63 -0
- package/legacy/src/utils/segmentAnythingPrompts.ts +152 -0
- package/legacy/tsconfig.json +13 -0
- package/lib/module/constants.js +131 -0
- package/lib/module/constants.js.map +1 -0
- package/lib/module/core/error.js +113 -0
- package/lib/module/core/error.js.map +1 -0
- package/lib/module/core/lifetime.js +68 -0
- package/lib/module/core/lifetime.js.map +1 -0
- package/lib/module/core/model.js +73 -0
- package/lib/module/core/model.js.map +1 -0
- package/lib/module/core/runtime.js +92 -0
- package/lib/module/core/runtime.js.map +1 -0
- package/lib/module/core/schema.js +734 -0
- package/lib/module/core/schema.js.map +1 -0
- package/lib/module/core/tensor.js +64 -0
- package/lib/module/core/tensor.js.map +1 -0
- package/lib/module/extensions/cv/image.js +2 -0
- package/lib/module/extensions/cv/image.js.map +1 -0
- package/lib/module/extensions/cv/index.js +12 -0
- package/lib/module/extensions/cv/index.js.map +1 -0
- package/lib/module/extensions/cv/ops/box.js +223 -0
- package/lib/module/extensions/cv/ops/box.js.map +1 -0
- package/lib/module/extensions/cv/ops/image.js +257 -0
- package/lib/module/extensions/cv/ops/image.js.map +1 -0
- package/lib/module/extensions/cv/ops/index.js +10 -0
- package/lib/module/extensions/cv/ops/index.js.map +1 -0
- package/lib/module/extensions/cv/ops/point.js +87 -0
- package/lib/module/extensions/cv/ops/point.js.map +1 -0
- package/lib/module/extensions/cv/ops/quad.js +191 -0
- package/lib/module/extensions/cv/ops/quad.js.map +1 -0
- package/lib/module/extensions/cv/tasks/classification.js +127 -0
- package/lib/module/extensions/cv/tasks/classification.js.map +1 -0
- package/lib/module/extensions/cv/tasks/imageEmbedding.js +93 -0
- package/lib/module/extensions/cv/tasks/imageEmbedding.js.map +1 -0
- package/lib/module/extensions/cv/tasks/instanceSegmentation.js +189 -0
- package/lib/module/extensions/cv/tasks/instanceSegmentation.js.map +1 -0
- package/lib/module/extensions/cv/tasks/keypointDetection.js +194 -0
- package/lib/module/extensions/cv/tasks/keypointDetection.js.map +1 -0
- package/lib/module/extensions/cv/tasks/objectDetection.js +157 -0
- package/lib/module/extensions/cv/tasks/objectDetection.js.map +1 -0
- package/lib/module/extensions/cv/tasks/paddleOcr.js +474 -0
- package/lib/module/extensions/cv/tasks/paddleOcr.js.map +1 -0
- package/lib/module/extensions/cv/tasks/sdxsTextToImage.js +133 -0
- package/lib/module/extensions/cv/tasks/sdxsTextToImage.js.map +1 -0
- package/lib/module/extensions/cv/tasks/semanticSegmentation.js +166 -0
- package/lib/module/extensions/cv/tasks/semanticSegmentation.js.map +1 -0
- package/lib/module/extensions/cv/tasks/styleTransfer.js +109 -0
- package/lib/module/extensions/cv/tasks/styleTransfer.js.map +1 -0
- package/lib/module/extensions/cv/utils/imagePreprocessor.js +88 -0
- package/lib/module/extensions/cv/utils/imagePreprocessor.js.map +1 -0
- package/lib/module/extensions/cv/utils/paddleOcrUtils.js +59 -0
- package/lib/module/extensions/cv/utils/paddleOcrUtils.js.map +1 -0
- package/lib/module/extensions/llm/index.js +12 -0
- package/lib/module/extensions/llm/index.js.map +1 -0
- package/lib/module/extensions/llm/llmRunner.js +70 -0
- package/lib/module/extensions/llm/llmRunner.js.map +1 -0
- package/lib/module/extensions/llm/tasks/llmChatSession.js +269 -0
- package/lib/module/extensions/llm/tasks/llmChatSession.js.map +1 -0
- package/lib/module/extensions/llm/utils/chatPreprocessor.js +309 -0
- package/lib/module/extensions/llm/utils/chatPreprocessor.js.map +1 -0
- package/lib/module/extensions/llm/utils/tokenizerConfig.js +51 -0
- package/lib/module/extensions/llm/utils/tokenizerConfig.js.map +1 -0
- package/lib/module/extensions/llm/utils/toolCalling.js +4 -0
- package/lib/module/extensions/llm/utils/toolCalling.js.map +1 -0
- package/lib/module/extensions/math.js +215 -0
- package/lib/module/extensions/math.js.map +1 -0
- package/lib/module/extensions/nlp/index.js +10 -0
- package/lib/module/extensions/nlp/index.js.map +1 -0
- package/lib/module/extensions/nlp/tasks/privacyFilter.js +215 -0
- package/lib/module/extensions/nlp/tasks/privacyFilter.js.map +1 -0
- package/lib/module/extensions/nlp/tasks/textEmbedding.js +132 -0
- package/lib/module/extensions/nlp/tasks/textEmbedding.js.map +1 -0
- package/lib/module/extensions/nlp/tasks/tokenization.js +31 -0
- package/lib/module/extensions/nlp/tasks/tokenization.js.map +1 -0
- package/lib/module/extensions/nlp/tokenizer.js +28 -0
- package/lib/module/extensions/nlp/tokenizer.js.map +1 -0
- package/lib/module/extensions/nlp/utils/privacyFilterUtils.js +461 -0
- package/lib/module/extensions/nlp/utils/privacyFilterUtils.js.map +1 -0
- package/lib/module/extensions/speech/index.js +13 -0
- package/lib/module/extensions/speech/index.js.map +1 -0
- package/lib/module/extensions/speech/tasks/fsmnVoiceActivityDetection.js +283 -0
- package/lib/module/extensions/speech/tasks/fsmnVoiceActivityDetection.js.map +1 -0
- package/lib/module/extensions/speech/tasks/kokoroTextToSpeech.js +379 -0
- package/lib/module/extensions/speech/tasks/kokoroTextToSpeech.js.map +1 -0
- package/lib/module/extensions/speech/tasks/supertonicTextToSpeech.js +332 -0
- package/lib/module/extensions/speech/tasks/supertonicTextToSpeech.js.map +1 -0
- package/lib/module/extensions/speech/tasks/whisperSpeechToText.js +277 -0
- package/lib/module/extensions/speech/tasks/whisperSpeechToText.js.map +1 -0
- package/lib/module/extensions/speech/utils/kokoroUtils.js +299 -0
- package/lib/module/extensions/speech/utils/kokoroUtils.js.map +1 -0
- package/lib/module/extensions/speech/utils/phonemizer.js +42 -0
- package/lib/module/extensions/speech/utils/phonemizer.js.map +1 -0
- package/lib/module/extensions/speech/utils/supertonicUtils.js +215 -0
- package/lib/module/extensions/speech/utils/supertonicUtils.js.map +1 -0
- package/lib/module/extensions/speech/utils/textPartitioner.js +168 -0
- package/lib/module/extensions/speech/utils/textPartitioner.js.map +1 -0
- package/lib/module/extensions/speech/utils/vadUtils.js +42 -0
- package/lib/module/extensions/speech/utils/vadUtils.js.map +1 -0
- package/lib/module/fetcher/backgroundDownloader.js +62 -0
- package/lib/module/fetcher/backgroundDownloader.js.map +1 -0
- package/lib/module/fetcher/fetcher.js +873 -0
- package/lib/module/fetcher/fetcher.js.map +1 -0
- package/lib/module/fetcher/index.js +5 -0
- package/lib/module/fetcher/index.js.map +1 -0
- package/lib/module/fetcher/telemetry.js +134 -0
- package/lib/module/fetcher/telemetry.js.map +1 -0
- package/lib/module/hooks/useClassifier.js +45 -0
- package/lib/module/hooks/useClassifier.js.map +1 -0
- package/lib/module/hooks/useImageEmbedder.js +43 -0
- package/lib/module/hooks/useImageEmbedder.js.map +1 -0
- package/lib/module/hooks/useInstanceSegmenter.js +45 -0
- package/lib/module/hooks/useInstanceSegmenter.js.map +1 -0
- package/lib/module/hooks/useKeypointDetector.js +45 -0
- package/lib/module/hooks/useKeypointDetector.js.map +1 -0
- package/lib/module/hooks/useLLMChatSession.js +45 -0
- package/lib/module/hooks/useLLMChatSession.js.map +1 -0
- package/lib/module/hooks/useModel.js +65 -0
- package/lib/module/hooks/useModel.js.map +1 -0
- package/lib/module/hooks/useObjectDetector.js +45 -0
- package/lib/module/hooks/useObjectDetector.js.map +1 -0
- package/lib/module/hooks/useOpticalCharacterRecognizer.js +42 -0
- package/lib/module/hooks/useOpticalCharacterRecognizer.js.map +1 -0
- package/lib/module/hooks/usePrivacyFilter.js +45 -0
- package/lib/module/hooks/usePrivacyFilter.js.map +1 -0
- package/lib/module/hooks/useResourceDownload.js +80 -0
- package/lib/module/hooks/useResourceDownload.js.map +1 -0
- package/lib/module/hooks/useSemanticSegmenter.js +45 -0
- package/lib/module/hooks/useSemanticSegmenter.js.map +1 -0
- package/lib/module/hooks/useSpeechToText.js +49 -0
- package/lib/module/hooks/useSpeechToText.js.map +1 -0
- package/lib/module/hooks/useStyleTransfer.js +43 -0
- package/lib/module/hooks/useStyleTransfer.js.map +1 -0
- package/lib/module/hooks/useTextEmbedder.js +43 -0
- package/lib/module/hooks/useTextEmbedder.js.map +1 -0
- package/lib/module/hooks/useTextToImage.js +42 -0
- package/lib/module/hooks/useTextToImage.js.map +1 -0
- package/lib/module/hooks/useTextToSpeech.js +74 -0
- package/lib/module/hooks/useTextToSpeech.js.map +1 -0
- package/lib/module/hooks/useTokenizer.js +45 -0
- package/lib/module/hooks/useTokenizer.js.map +1 -0
- package/lib/module/hooks/useVoiceActivityDetector.js +44 -0
- package/lib/module/hooks/useVoiceActivityDetector.js.map +1 -0
- package/lib/module/index.js +121 -115
- package/lib/module/index.js.map +1 -1
- package/lib/module/legacy/src/common/Logger.js +22 -0
- package/lib/module/legacy/src/constants/classification.js +1008 -0
- package/lib/module/legacy/src/constants/commonVision.js +211 -0
- package/lib/module/legacy/src/constants/llmDefaults.js +39 -0
- package/lib/module/legacy/src/constants/modelRegistry.js +519 -0
- package/lib/module/legacy/src/constants/modelUrls.js +1257 -0
- package/lib/module/legacy/src/constants/ocr/models.js +271 -0
- package/lib/module/legacy/src/constants/ocr/symbols.js +142 -0
- package/lib/module/legacy/src/constants/poseEstimation.js +25 -0
- package/lib/module/legacy/src/constants/privacyFilterLabels.js +280 -0
- package/lib/module/legacy/src/constants/resourceFetcher.js +2 -0
- package/lib/module/legacy/src/constants/tts/models.js +34 -0
- package/lib/module/legacy/src/constants/tts/voices.js +271 -0
- package/lib/module/legacy/src/constants/versions.js +9 -0
- package/lib/module/legacy/src/controllers/BaseOCRController.js +114 -0
- package/lib/module/legacy/src/controllers/LLMController.js +370 -0
- package/lib/module/legacy/src/controllers/OCRController.js +10 -0
- package/lib/module/legacy/src/controllers/VerticalOCRController.js +10 -0
- package/lib/module/legacy/src/errors/ErrorCodes.js +197 -0
- package/lib/module/legacy/src/errors/errorUtils.js +61 -0
- package/lib/module/legacy/src/hooks/computer_vision/useClassification.js +27 -0
- package/lib/module/legacy/src/hooks/computer_vision/useImageEmbeddings.js +26 -0
- package/lib/module/legacy/src/hooks/computer_vision/useInstanceSegmentation.js +48 -0
- package/lib/module/legacy/src/hooks/computer_vision/useOCR.js +56 -0
- package/lib/module/legacy/src/hooks/computer_vision/useObjectDetection.js +29 -0
- package/lib/module/legacy/src/hooks/computer_vision/usePoseEstimation.js +29 -0
- package/lib/module/legacy/src/hooks/computer_vision/useSemanticSegmentation.js +33 -0
- package/lib/module/legacy/src/hooks/computer_vision/useStyleTransfer.js +26 -0
- package/lib/module/legacy/src/hooks/computer_vision/useTextToImage.js +95 -0
- package/lib/module/legacy/src/hooks/computer_vision/useVerticalOCR.js +57 -0
- package/lib/module/legacy/src/hooks/general/useExecutorchModule.js +14 -0
- package/lib/module/legacy/src/hooks/natural_language_processing/useLLM.js +90 -0
- package/lib/module/legacy/src/hooks/natural_language_processing/usePrivacyFilter.js +19 -0
- package/lib/module/legacy/src/hooks/natural_language_processing/useSpeechToText.js +129 -0
- package/lib/module/legacy/src/hooks/natural_language_processing/useTextEmbeddings.js +19 -0
- package/lib/module/legacy/src/hooks/natural_language_processing/useTextToSpeech.js +130 -0
- package/lib/module/legacy/src/hooks/natural_language_processing/useTokenizer.js +60 -0
- package/lib/module/legacy/src/hooks/natural_language_processing/useVAD.js +31 -0
- package/lib/module/legacy/src/hooks/useModule.js +116 -0
- package/lib/module/legacy/src/hooks/useModuleFactory.js +91 -0
- package/lib/module/legacy/src/index.js +147 -0
- package/lib/module/legacy/src/modules/BaseModule.js +80 -0
- package/lib/module/legacy/src/modules/computer_vision/ClassificationModule.js +74 -0
- package/lib/module/legacy/src/modules/computer_vision/ImageEmbeddingsModule.js +50 -0
- package/lib/module/legacy/src/modules/computer_vision/InstanceSegmentationModule.js +292 -0
- package/lib/module/legacy/src/modules/computer_vision/OCRModule.js +71 -0
- package/lib/module/legacy/src/modules/computer_vision/ObjectDetectionModule.js +204 -0
- package/lib/module/legacy/src/modules/computer_vision/PoseEstimationModule.js +184 -0
- package/lib/module/legacy/src/modules/computer_vision/SemanticSegmentationModule.js +128 -0
- package/lib/module/legacy/src/modules/computer_vision/StyleTransferModule.js +60 -0
- package/lib/module/legacy/src/modules/computer_vision/TextToImageModule.js +91 -0
- package/lib/module/legacy/src/modules/computer_vision/VerticalOCRModule.js +73 -0
- package/lib/module/legacy/src/modules/computer_vision/VisionLabeledModule.js +35 -0
- package/lib/module/legacy/src/modules/computer_vision/VisionModule.js +137 -0
- package/lib/module/legacy/src/modules/general/ExecutorchModule.js +40 -0
- package/lib/module/legacy/src/modules/natural_language_processing/LLMModule.js +175 -0
- package/lib/module/legacy/src/modules/natural_language_processing/PrivacyFilterModule.js +93 -0
- package/lib/module/legacy/src/modules/natural_language_processing/SpeechToTextModule.js +200 -0
- package/lib/module/legacy/src/modules/natural_language_processing/TextEmbeddingsModule.js +67 -0
- package/lib/module/legacy/src/modules/natural_language_processing/TextToSpeechModule.js +162 -0
- package/lib/module/legacy/src/modules/natural_language_processing/TokenizerModule.js +78 -0
- package/lib/module/legacy/src/modules/natural_language_processing/VADModule.js +123 -0
- package/lib/module/legacy/src/native/NativeETInstaller.js +2 -0
- package/lib/module/legacy/src/native/RnExecutorchModules.js +16 -0
- package/lib/module/legacy/src/types/classification.js +2 -0
- package/lib/module/legacy/src/types/common.js +98 -0
- package/lib/module/legacy/src/types/computerVision.js +1 -0
- package/lib/module/legacy/src/types/executorchModule.js +1 -0
- package/lib/module/legacy/src/types/genericImageSegmentation.js +1 -0
- package/lib/module/legacy/src/types/imageEmbeddings.js +1 -0
- package/lib/module/legacy/src/types/instanceSegmentation.js +1 -0
- package/lib/module/legacy/src/types/llm.js +14 -0
- package/lib/module/legacy/src/types/objectDetection.js +2 -0
- package/lib/module/legacy/src/types/ocr.js +1 -0
- package/lib/module/legacy/src/types/poseEstimation.js +2 -0
- package/lib/module/legacy/src/types/privacyFilter.js +1 -0
- package/lib/module/legacy/src/types/semanticSegmentation.js +37 -0
- package/lib/module/legacy/src/types/stt.js +1 -0
- package/lib/module/legacy/src/types/styleTransfer.js +1 -0
- package/lib/module/legacy/src/types/textEmbeddings.js +1 -0
- package/lib/module/legacy/src/types/tokenizer.js +1 -0
- package/lib/module/legacy/src/types/tti.js +1 -0
- package/lib/module/legacy/src/types/tts.js +1 -0
- package/lib/module/legacy/src/types/vad.js +1 -0
- package/lib/module/legacy/src/utils/BaseResourceFetcherClass.js +66 -0
- package/lib/module/legacy/src/utils/ResourceFetcher.js +93 -0
- package/lib/module/legacy/src/utils/ResourceFetcherUtils.js +196 -0
- package/lib/module/legacy/src/utils/commonVision.js +8 -0
- package/lib/module/legacy/src/utils/labelUtils.js +12 -0
- package/lib/module/legacy/src/utils/llm.js +93 -0
- package/lib/module/legacy/src/utils/llms/context_strategy/MessageCountContextStrategy.js +29 -0
- package/lib/module/legacy/src/utils/llms/context_strategy/NoopContextStrategy.js +19 -0
- package/lib/module/legacy/src/utils/llms/context_strategy/SlidingWindowContextStrategy.js +52 -0
- package/lib/module/legacy/src/utils/llms/context_strategy/index.js +3 -0
- package/lib/module/legacy/src/utils/segmentAnythingPrompts.js +94 -0
- package/lib/module/models.js +2831 -0
- package/lib/module/models.js.map +1 -0
- package/lib/module/native/NativeETInstaller.js +4 -0
- package/lib/module/native/NativeETInstaller.js.map +1 -1
- package/lib/module/native/NativeRnExecutorch.js +5 -0
- package/lib/module/native/NativeRnExecutorch.js.map +1 -0
- package/lib/module/native/bridge.js +23 -0
- package/lib/module/native/bridge.js.map +1 -0
- package/lib/module/package.json +1 -0
- package/lib/module/utils.js +82 -0
- package/lib/module/utils.js.map +1 -0
- package/lib/typescript/legacy/src/common/Logger.d.ts +11 -0
- package/lib/typescript/legacy/src/constants/classification.d.ts +1007 -0
- package/lib/typescript/legacy/src/constants/commonVision.d.ts +209 -0
- package/lib/typescript/legacy/src/constants/llmDefaults.d.ts +28 -0
- package/lib/typescript/legacy/src/constants/modelRegistry.d.ts +777 -0
- package/lib/typescript/legacy/src/constants/modelUrls.d.ts +978 -0
- package/lib/typescript/legacy/src/constants/ocr/models.d.ts +567 -0
- package/lib/typescript/legacy/src/constants/ocr/symbols.d.ts +78 -0
- package/lib/typescript/legacy/src/constants/poseEstimation.d.ts +24 -0
- package/lib/typescript/legacy/src/constants/privacyFilterLabels.d.ts +19 -0
- package/lib/typescript/legacy/src/constants/resourceFetcher.d.ts +2 -0
- package/lib/typescript/legacy/src/constants/tts/models.d.ts +28 -0
- package/lib/typescript/legacy/src/constants/tts/voices.d.ts +81 -0
- package/lib/typescript/legacy/src/constants/versions.d.ts +4 -0
- package/lib/typescript/legacy/src/controllers/BaseOCRController.d.ts +22 -0
- package/lib/typescript/legacy/src/controllers/LLMController.d.ts +52 -0
- package/lib/typescript/legacy/src/controllers/OCRController.d.ts +7 -0
- package/lib/typescript/legacy/src/controllers/VerticalOCRController.d.ts +7 -0
- package/lib/typescript/legacy/src/errors/ErrorCodes.d.ts +194 -0
- package/lib/typescript/legacy/src/errors/errorUtils.d.ts +22 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/useClassification.d.ts +11 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/useImageEmbeddings.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/useInstanceSegmentation.d.ts +30 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/useOCR.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/useObjectDetection.d.ts +11 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/usePoseEstimation.d.ts +11 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/useSemanticSegmentation.d.ts +17 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/useStyleTransfer.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/useTextToImage.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/computer_vision/useVerticalOCR.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/general/useExecutorchModule.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/natural_language_processing/useLLM.d.ts +14 -0
- package/lib/typescript/legacy/src/hooks/natural_language_processing/usePrivacyFilter.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/natural_language_processing/useSpeechToText.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/natural_language_processing/useTextEmbeddings.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/natural_language_processing/useTextToSpeech.d.ts +13 -0
- package/lib/typescript/legacy/src/hooks/natural_language_processing/useTokenizer.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/natural_language_processing/useVAD.d.ts +9 -0
- package/lib/typescript/legacy/src/hooks/useModule.d.ts +61 -0
- package/lib/typescript/legacy/src/hooks/useModuleFactory.d.ts +34 -0
- package/lib/typescript/legacy/src/index.d.ts +131 -0
- package/lib/typescript/legacy/src/modules/BaseModule.d.ts +74 -0
- package/lib/typescript/legacy/src/modules/computer_vision/ClassificationModule.d.ts +66 -0
- package/lib/typescript/legacy/src/modules/computer_vision/ImageEmbeddingsModule.d.ts +32 -0
- package/lib/typescript/legacy/src/modules/computer_vision/InstanceSegmentationModule.d.ts +229 -0
- package/lib/typescript/legacy/src/modules/computer_vision/OCRModule.d.ts +52 -0
- package/lib/typescript/legacy/src/modules/computer_vision/ObjectDetectionModule.d.ts +158 -0
- package/lib/typescript/legacy/src/modules/computer_vision/PoseEstimationModule.d.ts +84 -0
- package/lib/typescript/legacy/src/modules/computer_vision/SemanticSegmentationModule.d.ts +182 -0
- package/lib/typescript/legacy/src/modules/computer_vision/StyleTransferModule.d.ts +42 -0
- package/lib/typescript/legacy/src/modules/computer_vision/TextToImageModule.d.ts +66 -0
- package/lib/typescript/legacy/src/modules/computer_vision/VerticalOCRModule.d.ts +54 -0
- package/lib/typescript/legacy/src/modules/computer_vision/VisionLabeledModule.d.ts +24 -0
- package/lib/typescript/legacy/src/modules/computer_vision/VisionModule.d.ts +82 -0
- package/lib/typescript/legacy/src/modules/general/ExecutorchModule.d.ts +24 -0
- package/lib/typescript/legacy/src/modules/natural_language_processing/LLMModule.d.ts +130 -0
- package/lib/typescript/legacy/src/modules/natural_language_processing/PrivacyFilterModule.d.ts +46 -0
- package/lib/typescript/legacy/src/modules/natural_language_processing/SpeechToTextModule.d.ts +95 -0
- package/lib/typescript/legacy/src/modules/natural_language_processing/TextEmbeddingsModule.d.ts +39 -0
- package/lib/typescript/legacy/src/modules/natural_language_processing/TextToSpeechModule.d.ts +61 -0
- package/lib/typescript/legacy/src/modules/natural_language_processing/TokenizerModule.d.ts +51 -0
- package/lib/typescript/legacy/src/modules/natural_language_processing/VADModule.d.ts +53 -0
- package/lib/typescript/legacy/src/native/NativeETInstaller.d.ts +6 -0
- package/lib/typescript/legacy/src/native/RnExecutorchModules.d.ts +3 -0
- package/lib/typescript/legacy/src/types/classification.d.ts +97 -0
- package/lib/typescript/legacy/src/types/common.d.ts +184 -0
- package/lib/typescript/legacy/src/types/computerVision.d.ts +11 -0
- package/lib/typescript/legacy/src/types/executorchModule.d.ts +42 -0
- package/lib/typescript/legacy/src/types/genericImageSegmentation.d.ts +0 -0
- package/lib/typescript/legacy/src/types/imageEmbeddings.d.ts +70 -0
- package/lib/typescript/legacy/src/types/instanceSegmentation.d.ts +203 -0
- package/lib/typescript/legacy/src/types/llm.d.ts +344 -0
- package/lib/typescript/legacy/src/types/objectDetection.d.ts +187 -0
- package/lib/typescript/legacy/src/types/ocr.d.ts +124 -0
- package/lib/typescript/legacy/src/types/poseEstimation.d.ts +133 -0
- package/lib/typescript/legacy/src/types/privacyFilter.d.ts +87 -0
- package/lib/typescript/legacy/src/types/semanticSegmentation.d.ts +175 -0
- package/lib/typescript/legacy/src/types/stt.d.ts +197 -0
- package/lib/typescript/legacy/src/types/styleTransfer.d.ts +72 -0
- package/lib/typescript/legacy/src/types/textEmbeddings.d.ts +62 -0
- package/lib/typescript/legacy/src/types/tokenizer.d.ts +72 -0
- package/lib/typescript/legacy/src/types/tti.d.ts +81 -0
- package/lib/typescript/legacy/src/types/tts.d.ts +171 -0
- package/lib/typescript/legacy/src/types/vad.d.ts +105 -0
- package/lib/typescript/legacy/src/utils/BaseResourceFetcherClass.d.ts +135 -0
- package/lib/typescript/legacy/src/utils/ResourceFetcher.d.ts +93 -0
- package/lib/typescript/legacy/src/utils/ResourceFetcherUtils.d.ts +106 -0
- package/lib/typescript/legacy/src/utils/commonVision.d.ts +7 -0
- package/lib/typescript/legacy/src/utils/labelUtils.d.ts +1 -0
- package/lib/typescript/legacy/src/utils/llm.d.ts +30 -0
- package/lib/typescript/legacy/src/utils/llms/context_strategy/MessageCountContextStrategy.d.ts +23 -0
- package/lib/typescript/legacy/src/utils/llms/context_strategy/NoopContextStrategy.d.ts +18 -0
- package/lib/typescript/legacy/src/utils/llms/context_strategy/SlidingWindowContextStrategy.d.ts +30 -0
- package/lib/typescript/legacy/src/utils/llms/context_strategy/index.d.ts +3 -0
- package/lib/typescript/legacy/src/utils/segmentAnythingPrompts.d.ts +39 -0
- package/lib/typescript/package.json +1 -0
- package/lib/typescript/src/constants.d.ts +112 -0
- package/lib/typescript/src/constants.d.ts.map +1 -0
- package/lib/typescript/src/core/error.d.ts +91 -0
- package/lib/typescript/src/core/error.d.ts.map +1 -0
- package/lib/typescript/src/core/lifetime.d.ts +67 -0
- package/lib/typescript/src/core/lifetime.d.ts.map +1 -0
- package/lib/typescript/src/core/model.d.ts +110 -0
- package/lib/typescript/src/core/model.d.ts.map +1 -0
- package/lib/typescript/src/core/runtime.d.ts +45 -0
- package/lib/typescript/src/core/runtime.d.ts.map +1 -0
- package/lib/typescript/src/core/schema.d.ts +427 -0
- package/lib/typescript/src/core/schema.d.ts.map +1 -0
- package/lib/typescript/src/core/tensor.d.ts +127 -0
- package/lib/typescript/src/core/tensor.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/image.d.ts +20 -0
- package/lib/typescript/src/extensions/cv/image.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/index.d.ts +9 -0
- package/lib/typescript/src/extensions/cv/index.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/ops/box.d.ts +145 -0
- package/lib/typescript/src/extensions/cv/ops/box.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/ops/image.d.ts +175 -0
- package/lib/typescript/src/extensions/cv/ops/image.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/ops/index.d.ts +8 -0
- package/lib/typescript/src/extensions/cv/ops/index.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/ops/point.d.ts +59 -0
- package/lib/typescript/src/extensions/cv/ops/point.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/ops/quad.d.ts +106 -0
- package/lib/typescript/src/extensions/cv/ops/quad.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/tasks/classification.d.ts +100 -0
- package/lib/typescript/src/extensions/cv/tasks/classification.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/tasks/imageEmbedding.d.ts +63 -0
- package/lib/typescript/src/extensions/cv/tasks/imageEmbedding.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/tasks/instanceSegmentation.d.ts +132 -0
- package/lib/typescript/src/extensions/cv/tasks/instanceSegmentation.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/tasks/keypointDetection.d.ts +129 -0
- package/lib/typescript/src/extensions/cv/tasks/keypointDetection.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/tasks/objectDetection.d.ts +116 -0
- package/lib/typescript/src/extensions/cv/tasks/objectDetection.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/tasks/paddleOcr.d.ts +102 -0
- package/lib/typescript/src/extensions/cv/tasks/paddleOcr.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/tasks/sdxsTextToImage.d.ts +56 -0
- package/lib/typescript/src/extensions/cv/tasks/sdxsTextToImage.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/tasks/semanticSegmentation.d.ts +110 -0
- package/lib/typescript/src/extensions/cv/tasks/semanticSegmentation.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/tasks/styleTransfer.d.ts +73 -0
- package/lib/typescript/src/extensions/cv/tasks/styleTransfer.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/utils/imagePreprocessor.d.ts +61 -0
- package/lib/typescript/src/extensions/cv/utils/imagePreprocessor.d.ts.map +1 -0
- package/lib/typescript/src/extensions/cv/utils/paddleOcrUtils.d.ts +36 -0
- package/lib/typescript/src/extensions/cv/utils/paddleOcrUtils.d.ts.map +1 -0
- package/lib/typescript/src/extensions/llm/index.d.ts +9 -0
- package/lib/typescript/src/extensions/llm/index.d.ts.map +1 -0
- package/lib/typescript/src/extensions/llm/llmRunner.d.ts +141 -0
- package/lib/typescript/src/extensions/llm/llmRunner.d.ts.map +1 -0
- package/lib/typescript/src/extensions/llm/tasks/llmChatSession.d.ts +113 -0
- package/lib/typescript/src/extensions/llm/tasks/llmChatSession.d.ts.map +1 -0
- package/lib/typescript/src/extensions/llm/utils/chatPreprocessor.d.ts +172 -0
- package/lib/typescript/src/extensions/llm/utils/chatPreprocessor.d.ts.map +1 -0
- package/lib/typescript/src/extensions/llm/utils/tokenizerConfig.d.ts +24 -0
- package/lib/typescript/src/extensions/llm/utils/tokenizerConfig.d.ts.map +1 -0
- package/lib/typescript/src/extensions/llm/utils/toolCalling.d.ts +72 -0
- package/lib/typescript/src/extensions/llm/utils/toolCalling.d.ts.map +1 -0
- package/lib/typescript/src/extensions/math.d.ts +142 -0
- package/lib/typescript/src/extensions/math.d.ts.map +1 -0
- package/lib/typescript/src/extensions/nlp/index.d.ts +7 -0
- package/lib/typescript/src/extensions/nlp/index.d.ts.map +1 -0
- package/lib/typescript/src/extensions/nlp/tasks/privacyFilter.d.ts +99 -0
- package/lib/typescript/src/extensions/nlp/tasks/privacyFilter.d.ts.map +1 -0
- package/lib/typescript/src/extensions/nlp/tasks/textEmbedding.d.ts +66 -0
- package/lib/typescript/src/extensions/nlp/tasks/textEmbedding.d.ts.map +1 -0
- package/lib/typescript/src/extensions/nlp/tasks/tokenization.d.ts +22 -0
- package/lib/typescript/src/extensions/nlp/tasks/tokenization.d.ts.map +1 -0
- package/lib/typescript/src/extensions/nlp/tokenizer.d.ts +74 -0
- package/lib/typescript/src/extensions/nlp/tokenizer.d.ts.map +1 -0
- package/lib/typescript/src/extensions/nlp/utils/privacyFilterUtils.d.ts +205 -0
- package/lib/typescript/src/extensions/nlp/utils/privacyFilterUtils.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/index.d.ts +10 -0
- package/lib/typescript/src/extensions/speech/index.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/tasks/fsmnVoiceActivityDetection.d.ts +133 -0
- package/lib/typescript/src/extensions/speech/tasks/fsmnVoiceActivityDetection.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/tasks/kokoroTextToSpeech.d.ts +102 -0
- package/lib/typescript/src/extensions/speech/tasks/kokoroTextToSpeech.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/tasks/supertonicTextToSpeech.d.ts +115 -0
- package/lib/typescript/src/extensions/speech/tasks/supertonicTextToSpeech.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/tasks/whisperSpeechToText.d.ts +139 -0
- package/lib/typescript/src/extensions/speech/tasks/whisperSpeechToText.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/utils/kokoroUtils.d.ts +56 -0
- package/lib/typescript/src/extensions/speech/utils/kokoroUtils.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/utils/phonemizer.d.ts +52 -0
- package/lib/typescript/src/extensions/speech/utils/phonemizer.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/utils/supertonicUtils.d.ts +94 -0
- package/lib/typescript/src/extensions/speech/utils/supertonicUtils.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/utils/textPartitioner.d.ts +44 -0
- package/lib/typescript/src/extensions/speech/utils/textPartitioner.d.ts.map +1 -0
- package/lib/typescript/src/extensions/speech/utils/vadUtils.d.ts +41 -0
- package/lib/typescript/src/extensions/speech/utils/vadUtils.d.ts.map +1 -0
- package/lib/typescript/src/fetcher/backgroundDownloader.d.ts +34 -0
- package/lib/typescript/src/fetcher/backgroundDownloader.d.ts.map +1 -0
- package/lib/typescript/src/fetcher/fetcher.d.ts +59 -0
- package/lib/typescript/src/fetcher/fetcher.d.ts.map +1 -0
- package/lib/typescript/src/fetcher/index.d.ts +4 -0
- package/lib/typescript/src/fetcher/index.d.ts.map +1 -0
- package/lib/typescript/src/fetcher/telemetry.d.ts +28 -0
- package/lib/typescript/src/fetcher/telemetry.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useClassifier.d.ts +30 -0
- package/lib/typescript/src/hooks/useClassifier.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useImageEmbedder.d.ts +28 -0
- package/lib/typescript/src/hooks/useImageEmbedder.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useInstanceSegmenter.d.ts +32 -0
- package/lib/typescript/src/hooks/useInstanceSegmenter.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useKeypointDetector.d.ts +32 -0
- package/lib/typescript/src/hooks/useKeypointDetector.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useLLMChatSession.d.ts +30 -0
- package/lib/typescript/src/hooks/useLLMChatSession.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useModel.d.ts +27 -0
- package/lib/typescript/src/hooks/useModel.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useObjectDetector.d.ts +32 -0
- package/lib/typescript/src/hooks/useObjectDetector.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useOpticalCharacterRecognizer.d.ts +27 -0
- package/lib/typescript/src/hooks/useOpticalCharacterRecognizer.d.ts.map +1 -0
- package/lib/typescript/src/hooks/usePrivacyFilter.d.ts +30 -0
- package/lib/typescript/src/hooks/usePrivacyFilter.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useResourceDownload.d.ts +36 -0
- package/lib/typescript/src/hooks/useResourceDownload.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useSemanticSegmenter.d.ts +30 -0
- package/lib/typescript/src/hooks/useSemanticSegmenter.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useSpeechToText.d.ts +35 -0
- package/lib/typescript/src/hooks/useSpeechToText.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useStyleTransfer.d.ts +28 -0
- package/lib/typescript/src/hooks/useStyleTransfer.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useTextEmbedder.d.ts +28 -0
- package/lib/typescript/src/hooks/useTextEmbedder.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useTextToImage.d.ts +27 -0
- package/lib/typescript/src/hooks/useTextToImage.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useTextToSpeech.d.ts +67 -0
- package/lib/typescript/src/hooks/useTextToSpeech.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useTokenizer.d.ts +29 -0
- package/lib/typescript/src/hooks/useTokenizer.d.ts.map +1 -0
- package/lib/typescript/src/hooks/useVoiceActivityDetector.d.ts +29 -0
- package/lib/typescript/src/hooks/useVoiceActivityDetector.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +119 -0
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/models.d.ts +1275 -0
- package/lib/typescript/src/models.d.ts.map +1 -0
- package/lib/typescript/src/native/NativeETInstaller.d.ts +7 -0
- package/lib/typescript/src/native/NativeETInstaller.d.ts.map +1 -0
- package/lib/typescript/src/native/NativeRnExecutorch.d.ts +7 -0
- package/lib/typescript/src/native/NativeRnExecutorch.d.ts.map +1 -0
- package/lib/typescript/src/native/bridge.d.ts +2 -0
- package/lib/typescript/src/native/bridge.d.ts.map +1 -0
- package/lib/typescript/src/utils.d.ts +61 -0
- package/lib/typescript/src/utils.d.ts.map +1 -0
- package/package.json +117 -46
- package/react-native-executorch.podspec +168 -57
- package/scripts/download-libs.js +500 -0
- package/src/constants.ts +1427 -0
- package/src/core/error.ts +139 -0
- package/src/core/lifetime.ts +83 -0
- package/src/core/model.ts +129 -0
- package/src/core/runtime.ts +98 -0
- package/src/core/schema.ts +977 -0
- package/src/core/tensor.ts +156 -0
- package/src/extensions/cv/image.ts +21 -0
- package/src/extensions/cv/index.ts +9 -0
- package/src/extensions/cv/ops/box.ts +227 -0
- package/src/extensions/cv/ops/image.ts +267 -0
- package/src/extensions/cv/ops/index.ts +7 -0
- package/src/extensions/cv/ops/point.ts +80 -0
- package/src/extensions/cv/ops/quad.ts +188 -0
- package/src/extensions/cv/tasks/classification.ts +196 -0
- package/src/extensions/cv/tasks/imageEmbedding.ts +123 -0
- package/src/extensions/cv/tasks/instanceSegmentation.ts +304 -0
- package/src/extensions/cv/tasks/keypointDetection.ts +290 -0
- package/src/extensions/cv/tasks/objectDetection.ts +245 -0
- package/src/extensions/cv/tasks/paddleOcr.ts +574 -0
- package/src/extensions/cv/tasks/sdxsTextToImage.ts +188 -0
- package/src/extensions/cv/tasks/semanticSegmentation.ts +264 -0
- package/src/extensions/cv/tasks/styleTransfer.ts +163 -0
- package/src/extensions/cv/utils/imagePreprocessor.ts +134 -0
- package/src/extensions/cv/utils/paddleOcrUtils.ts +65 -0
- package/src/extensions/llm/index.ts +9 -0
- package/src/extensions/llm/llmRunner.ts +171 -0
- package/src/extensions/llm/tasks/llmChatSession.ts +353 -0
- package/src/extensions/llm/utils/chatPreprocessor.ts +428 -0
- package/src/extensions/llm/utils/tokenizerConfig.ts +61 -0
- package/src/extensions/llm/utils/toolCalling.ts +78 -0
- package/src/extensions/math.ts +226 -0
- package/src/extensions/nlp/index.ts +7 -0
- package/src/extensions/nlp/tasks/privacyFilter.ts +291 -0
- package/src/extensions/nlp/tasks/textEmbedding.ts +172 -0
- package/src/extensions/nlp/tasks/tokenization.ts +31 -0
- package/src/extensions/nlp/tokenizer.ts +94 -0
- package/src/extensions/nlp/utils/privacyFilterUtils.ts +527 -0
- package/src/extensions/speech/index.ts +10 -0
- package/src/extensions/speech/tasks/fsmnVoiceActivityDetection.ts +363 -0
- package/src/extensions/speech/tasks/kokoroTextToSpeech.ts +492 -0
- package/src/extensions/speech/tasks/supertonicTextToSpeech.ts +442 -0
- package/src/extensions/speech/tasks/whisperSpeechToText.ts +425 -0
- package/src/extensions/speech/utils/kokoroUtils.ts +194 -0
- package/src/extensions/speech/utils/phonemizer.ts +77 -0
- package/src/extensions/speech/utils/supertonicUtils.ts +205 -0
- package/src/extensions/speech/utils/textPartitioner.ts +212 -0
- package/src/extensions/speech/utils/vadUtils.ts +52 -0
- package/src/fetcher/backgroundDownloader.ts +100 -0
- package/src/fetcher/fetcher.ts +980 -0
- package/src/fetcher/index.ts +3 -0
- package/src/fetcher/telemetry.ts +128 -0
- package/src/hooks/useClassifier.ts +36 -0
- package/src/hooks/useImageEmbedder.ts +37 -0
- package/src/hooks/useInstanceSegmenter.ts +44 -0
- package/src/hooks/useKeypointDetector.ts +44 -0
- package/src/hooks/useLLMChatSession.ts +43 -0
- package/src/hooks/useModel.ts +69 -0
- package/src/hooks/useObjectDetector.ts +44 -0
- package/src/hooks/useOpticalCharacterRecognizer.ts +33 -0
- package/src/hooks/usePrivacyFilter.ts +42 -0
- package/src/hooks/useResourceDownload.ts +84 -0
- package/src/hooks/useSemanticSegmenter.ts +42 -0
- package/src/hooks/useSpeechToText.ts +47 -0
- package/src/hooks/useStyleTransfer.ts +34 -0
- package/src/hooks/useTextEmbedder.ts +34 -0
- package/src/hooks/useTextToImage.ts +36 -0
- package/src/hooks/useTextToSpeech.ts +113 -0
- package/src/hooks/useTokenizer.ts +36 -0
- package/src/hooks/useVoiceActivityDetector.ts +38 -0
- package/src/index.ts +121 -247
- package/src/models.ts +2918 -0
- package/src/native/NativeETInstaller.ts +3 -0
- package/src/native/NativeRnExecutorch.ts +7 -0
- package/src/native/bridge.ts +23 -0
- package/src/utils.ts +94 -0
- package/third-party/README.md +49 -0
- package/android/build.gradle +0 -173
- package/android/gradle.properties +0 -5
- package/android/libs/classes.jar +0 -0
- package/android/src/main/AndroidManifestNew.xml +0 -2
- package/android/src/main/cpp/CMakeLists.txt +0 -112
- package/android/src/main/cpp/ETInstallerModule.cpp +0 -80
- package/android/src/main/cpp/ETInstallerModule.h +0 -42
- package/android/src/main/cpp/EmulatorDetection.h +0 -36
- package/common/ada/ada.cpp +0 -17406
- package/common/ada/ada.h +0 -10274
- package/common/pfft/pfft.c +0 -2205
- package/common/pfft/pfft.h +0 -185
- package/common/rnexecutorch/Error.h +0 -75
- package/common/rnexecutorch/ErrorCodes.h +0 -129
- package/common/rnexecutorch/Log.h +0 -496
- package/common/rnexecutorch/RnExecutorchInstaller.cpp +0 -149
- package/common/rnexecutorch/RnExecutorchInstaller.h +0 -116
- package/common/rnexecutorch/TokenizerModule.cpp +0 -113
- package/common/rnexecutorch/TokenizerModule.h +0 -38
- package/common/rnexecutorch/data_processing/FFT.cpp +0 -21
- package/common/rnexecutorch/data_processing/FFT.h +0 -23
- package/common/rnexecutorch/data_processing/FileUtils.h +0 -33
- package/common/rnexecutorch/data_processing/ImageProcessing.cpp +0 -261
- package/common/rnexecutorch/data_processing/Numerical.cpp +0 -115
- package/common/rnexecutorch/data_processing/Sequential.h +0 -53
- package/common/rnexecutorch/data_processing/base64.cpp +0 -110
- package/common/rnexecutorch/data_processing/base64.h +0 -46
- package/common/rnexecutorch/data_processing/dsp.cpp +0 -22
- package/common/rnexecutorch/data_processing/gzip.cpp +0 -51
- package/common/rnexecutorch/host_objects/JSTensorViewIn.h +0 -15
- package/common/rnexecutorch/host_objects/JSTensorViewOut.h +0 -22
- package/common/rnexecutorch/host_objects/JsiConversions.h +0 -770
- package/common/rnexecutorch/host_objects/ModelHostObject.h +0 -468
- package/common/rnexecutorch/jsi/JsiHostObject.cpp +0 -108
- package/common/rnexecutorch/jsi/JsiHostObject.h +0 -87
- package/common/rnexecutorch/jsi/OwningArrayBuffer.h +0 -57
- package/common/rnexecutorch/jsi/Promise.cpp +0 -23
- package/common/rnexecutorch/jsi/Promise.h +0 -70
- package/common/rnexecutorch/jsi/RuntimeAwareCache.h +0 -58
- package/common/rnexecutorch/jsi/RuntimeLifecycleMonitor.cpp +0 -53
- package/common/rnexecutorch/jsi/RuntimeLifecycleMonitor.h +0 -35
- package/common/rnexecutorch/metaprogramming/ConstructorHelpers.h +0 -133
- package/common/rnexecutorch/metaprogramming/ContainerHelpers.h +0 -32
- package/common/rnexecutorch/metaprogramming/FunctionHelpers.h +0 -100
- package/common/rnexecutorch/metaprogramming/TypeConcepts.h +0 -52
- package/common/rnexecutorch/models/BaseModel.cpp +0 -179
- package/common/rnexecutorch/models/BaseModel.h +0 -64
- package/common/rnexecutorch/models/VisionModel.cpp +0 -54
- package/common/rnexecutorch/models/VisionModel.h +0 -156
- package/common/rnexecutorch/models/classification/Classification.cpp +0 -118
- package/common/rnexecutorch/models/classification/Classification.h +0 -52
- package/common/rnexecutorch/models/embeddings/Types.h +0 -23
- package/common/rnexecutorch/models/embeddings/image/ImageEmbeddings.cpp +0 -72
- package/common/rnexecutorch/models/embeddings/image/ImageEmbeddings.h +0 -41
- package/common/rnexecutorch/models/embeddings/text/TextEmbeddings.cpp +0 -93
- package/common/rnexecutorch/models/embeddings/text/TextEmbeddings.h +0 -38
- package/common/rnexecutorch/models/instance_segmentation/BaseInstanceSegmentation.cpp +0 -376
- package/common/rnexecutorch/models/instance_segmentation/BaseInstanceSegmentation.h +0 -109
- package/common/rnexecutorch/models/instance_segmentation/Types.h +0 -33
- package/common/rnexecutorch/models/llm/LLM.cpp +0 -304
- package/common/rnexecutorch/models/llm/LLM.h +0 -55
- package/common/rnexecutorch/models/llm/Types.h +0 -23
- package/common/rnexecutorch/models/object_detection/Constants.h +0 -5
- package/common/rnexecutorch/models/object_detection/ObjectDetection.cpp +0 -231
- package/common/rnexecutorch/models/object_detection/ObjectDetection.h +0 -165
- package/common/rnexecutorch/models/object_detection/Types.h +0 -22
- package/common/rnexecutorch/models/ocr/CTCLabelConverter.cpp +0 -93
- package/common/rnexecutorch/models/ocr/CTCLabelConverter.h +0 -29
- package/common/rnexecutorch/models/ocr/Detector.cpp +0 -122
- package/common/rnexecutorch/models/ocr/Detector.h +0 -37
- package/common/rnexecutorch/models/ocr/OCR.cpp +0 -99
- package/common/rnexecutorch/models/ocr/OCR.h +0 -52
- package/common/rnexecutorch/models/ocr/RecognitionHandler.cpp +0 -96
- package/common/rnexecutorch/models/ocr/RecognitionHandler.h +0 -38
- package/common/rnexecutorch/models/ocr/Recognizer.cpp +0 -78
- package/common/rnexecutorch/models/ocr/Recognizer.h +0 -36
- package/common/rnexecutorch/models/ocr/Types.h +0 -32
- package/common/rnexecutorch/models/ocr/utils/DetectorUtils.cpp +0 -661
- package/common/rnexecutorch/models/ocr/utils/RecognitionHandlerUtils.cpp +0 -159
- package/common/rnexecutorch/models/ocr/utils/RecognizerUtils.cpp +0 -222
- package/common/rnexecutorch/models/pose_estimation/PoseEstimation.cpp +0 -180
- package/common/rnexecutorch/models/pose_estimation/PoseEstimation.h +0 -49
- package/common/rnexecutorch/models/privacy_filter/PrivacyFilter.cpp +0 -212
- package/common/rnexecutorch/models/privacy_filter/PrivacyFilter.h +0 -54
- package/common/rnexecutorch/models/privacy_filter/Types.h +0 -15
- package/common/rnexecutorch/models/privacy_filter/Viterbi.cpp +0 -153
- package/common/rnexecutorch/models/privacy_filter/Viterbi.h +0 -41
- package/common/rnexecutorch/models/semantic_segmentation/BaseSemanticSegmentation.cpp +0 -246
- package/common/rnexecutorch/models/semantic_segmentation/BaseSemanticSegmentation.h +0 -68
- package/common/rnexecutorch/models/semantic_segmentation/Types.h +0 -17
- package/common/rnexecutorch/models/speech_to_text/SpeechToText.cpp +0 -216
- package/common/rnexecutorch/models/speech_to_text/SpeechToText.h +0 -79
- package/common/rnexecutorch/models/speech_to_text/common/schema/ASR.h +0 -41
- package/common/rnexecutorch/models/speech_to_text/common/schema/OnlineASR.h +0 -44
- package/common/rnexecutorch/models/speech_to_text/common/types/GenerationResult.h +0 -22
- package/common/rnexecutorch/models/speech_to_text/common/types/Options.h +0 -27
- package/common/rnexecutorch/models/speech_to_text/common/types/ProcessResult.h +0 -23
- package/common/rnexecutorch/models/speech_to_text/common/types/Segment.h +0 -20
- package/common/rnexecutorch/models/speech_to_text/common/types/Token.h +0 -9
- package/common/rnexecutorch/models/speech_to_text/common/types/TranscriptionResult.h +0 -16
- package/common/rnexecutorch/models/speech_to_text/common/types/Word.h +0 -17
- package/common/rnexecutorch/models/speech_to_text/whisper/ASR.cpp +0 -479
- package/common/rnexecutorch/models/speech_to_text/whisper/ASR.h +0 -169
- package/common/rnexecutorch/models/speech_to_text/whisper/Constants.h +0 -45
- package/common/rnexecutorch/models/speech_to_text/whisper/OnlineASR.cpp +0 -307
- package/common/rnexecutorch/models/speech_to_text/whisper/OnlineASR.h +0 -92
- package/common/rnexecutorch/models/speech_to_text/whisper/Utils.h +0 -22
- package/common/rnexecutorch/models/style_transfer/StyleTransfer.cpp +0 -101
- package/common/rnexecutorch/models/style_transfer/StyleTransfer.h +0 -41
- package/common/rnexecutorch/models/style_transfer/Types.h +0 -19
- package/common/rnexecutorch/models/text_to_image/Decoder.cpp +0 -34
- package/common/rnexecutorch/models/text_to_image/Decoder.h +0 -24
- package/common/rnexecutorch/models/text_to_image/Encoder.cpp +0 -45
- package/common/rnexecutorch/models/text_to_image/Encoder.h +0 -32
- package/common/rnexecutorch/models/text_to_image/Scheduler.cpp +0 -155
- package/common/rnexecutorch/models/text_to_image/Scheduler.h +0 -41
- package/common/rnexecutorch/models/text_to_image/TextToImage.cpp +0 -150
- package/common/rnexecutorch/models/text_to_image/TextToImage.h +0 -64
- package/common/rnexecutorch/models/text_to_image/UNet.cpp +0 -36
- package/common/rnexecutorch/models/text_to_image/UNet.h +0 -28
- package/common/rnexecutorch/models/text_to_speech/TextToSpeech.h +0 -4
- package/common/rnexecutorch/models/text_to_speech/common/Constants.h +0 -27
- package/common/rnexecutorch/models/text_to_speech/common/TextPartitioner.cpp +0 -105
- package/common/rnexecutorch/models/text_to_speech/common/TextPartitioner.h +0 -94
- package/common/rnexecutorch/models/text_to_speech/common/Utils.cpp +0 -69
- package/common/rnexecutorch/models/text_to_speech/common/Utils.h +0 -21
- package/common/rnexecutorch/models/text_to_speech/kokoro/Constants.h +0 -70
- package/common/rnexecutorch/models/text_to_speech/kokoro/DurationPredictor.cpp +0 -216
- package/common/rnexecutorch/models/text_to_speech/kokoro/DurationPredictor.h +0 -78
- package/common/rnexecutorch/models/text_to_speech/kokoro/Kokoro.cpp +0 -456
- package/common/rnexecutorch/models/text_to_speech/kokoro/Kokoro.h +0 -129
- package/common/rnexecutorch/models/text_to_speech/kokoro/Params.h +0 -78
- package/common/rnexecutorch/models/text_to_speech/kokoro/Synthesizer.cpp +0 -113
- package/common/rnexecutorch/models/text_to_speech/kokoro/Synthesizer.h +0 -61
- package/common/rnexecutorch/models/text_to_speech/kokoro/Types.h +0 -31
- package/common/rnexecutorch/models/text_to_speech/kokoro/Utils.cpp +0 -46
- package/common/rnexecutorch/models/text_to_speech/kokoro/Utils.h +0 -19
- package/common/rnexecutorch/models/text_to_speech/supertonic/Constants.h +0 -59
- package/common/rnexecutorch/models/text_to_speech/supertonic/DurationPredictor.cpp +0 -49
- package/common/rnexecutorch/models/text_to_speech/supertonic/DurationPredictor.h +0 -37
- package/common/rnexecutorch/models/text_to_speech/supertonic/Params.h +0 -50
- package/common/rnexecutorch/models/text_to_speech/supertonic/Supertonic.cpp +0 -305
- package/common/rnexecutorch/models/text_to_speech/supertonic/Supertonic.h +0 -113
- package/common/rnexecutorch/models/text_to_speech/supertonic/TextEncoder.cpp +0 -50
- package/common/rnexecutorch/models/text_to_speech/supertonic/TextEncoder.h +0 -38
- package/common/rnexecutorch/models/text_to_speech/supertonic/TextProcessor.cpp +0 -213
- package/common/rnexecutorch/models/text_to_speech/supertonic/TextProcessor.h +0 -46
- package/common/rnexecutorch/models/text_to_speech/supertonic/Types.h +0 -41
- package/common/rnexecutorch/models/text_to_speech/supertonic/VectorEstimator.cpp +0 -107
- package/common/rnexecutorch/models/text_to_speech/supertonic/VectorEstimator.h +0 -54
- package/common/rnexecutorch/models/text_to_speech/supertonic/Vocoder.cpp +0 -43
- package/common/rnexecutorch/models/text_to_speech/supertonic/Vocoder.h +0 -36
- package/common/rnexecutorch/models/vertical_ocr/VerticalDetector.cpp +0 -88
- package/common/rnexecutorch/models/vertical_ocr/VerticalDetector.h +0 -50
- package/common/rnexecutorch/models/vertical_ocr/VerticalOCR.cpp +0 -226
- package/common/rnexecutorch/models/vertical_ocr/VerticalOCR.h +0 -92
- package/common/rnexecutorch/models/voice_activity_detection/Types.h +0 -12
- package/common/rnexecutorch/models/voice_activity_detection/Utils.cpp +0 -42
- package/common/rnexecutorch/models/voice_activity_detection/VoiceActivityDetection.cpp +0 -253
- package/common/rnexecutorch/models/voice_activity_detection/VoiceActivityDetection.h +0 -76
- package/common/rnexecutorch/threads/GlobalThreadPool.h +0 -84
- package/common/rnexecutorch/threads/HighPerformanceThreadPool.h +0 -366
- package/common/rnexecutorch/threads/utils/ThreadUtils.h +0 -29
- package/common/rnexecutorch/utils/FrameExtractor.cpp +0 -112
- package/common/rnexecutorch/utils/FrameProcessor.cpp +0 -91
- package/common/rnexecutorch/utils/FrameTransform.cpp +0 -129
- package/common/rnexecutorch/utils/FrameTransform.h +0 -135
- package/common/rnexecutorch/utils/computer_vision/Processing.cpp +0 -20
- package/common/rnexecutorch/utils/computer_vision/Processing.h +0 -51
- package/common/rnexecutorch/utils/computer_vision/Types.h +0 -35
- package/common/runner/arange_util.cpp +0 -44
- package/common/runner/arange_util.h +0 -37
- package/common/runner/base_llm_runner.cpp +0 -185
- package/common/runner/base_llm_runner.h +0 -90
- package/common/runner/constants.h +0 -44
- package/common/runner/encoders/audio_encoder.cpp +0 -111
- package/common/runner/encoders/audio_encoder.h +0 -40
- package/common/runner/encoders/iencoder.h +0 -25
- package/common/runner/encoders/vision_encoder.cpp +0 -151
- package/common/runner/encoders/vision_encoder.h +0 -52
- package/common/runner/io_manager.h +0 -240
- package/common/runner/irunner.h +0 -143
- package/common/runner/kernel_includes.h +0 -23
- package/common/runner/multimodal_decoder_runner.h +0 -113
- package/common/runner/multimodal_input.h +0 -83
- package/common/runner/multimodal_prefiller.cpp +0 -472
- package/common/runner/multimodal_prefiller.h +0 -94
- package/common/runner/multimodal_runner.cpp +0 -135
- package/common/runner/multimodal_runner.h +0 -41
- package/common/runner/sampler.cpp +0 -307
- package/common/runner/sampler.h +0 -141
- package/common/runner/stats.h +0 -218
- package/common/runner/text_decoder_runner.cpp +0 -112
- package/common/runner/text_decoder_runner.h +0 -88
- package/common/runner/text_prefiller.cpp +0 -128
- package/common/runner/text_prefiller.h +0 -92
- package/common/runner/text_runner.cpp +0 -156
- package/common/runner/text_runner.h +0 -34
- package/common/runner/text_token_generator.h +0 -220
- package/common/runner/util.h +0 -235
- package/ios/RnExecutorch/ETInstaller.mm +0 -58
- package/lib/module/common/Logger.js +0 -25
- package/lib/module/common/Logger.js.map +0 -1
- package/lib/module/constants/classification.js +0 -1011
- package/lib/module/constants/classification.js.map +0 -1
- package/lib/module/constants/commonVision.js +0 -217
- package/lib/module/constants/commonVision.js.map +0 -1
- package/lib/module/constants/llmDefaults.js +0 -47
- package/lib/module/constants/llmDefaults.js.map +0 -1
- package/lib/module/constants/modelRegistry.js +0 -792
- package/lib/module/constants/modelRegistry.js.map +0 -1
- package/lib/module/constants/modelUrls.js +0 -1295
- package/lib/module/constants/modelUrls.js.map +0 -1
- package/lib/module/constants/ocr/models.js +0 -337
- package/lib/module/constants/ocr/models.js.map +0 -1
- package/lib/module/constants/ocr/symbols.js +0 -146
- package/lib/module/constants/ocr/symbols.js.map +0 -1
- package/lib/module/constants/poseEstimation.js +0 -28
- package/lib/module/constants/poseEstimation.js.map +0 -1
- package/lib/module/constants/privacyFilterLabels.js +0 -30
- package/lib/module/constants/privacyFilterLabels.js.map +0 -1
- package/lib/module/constants/resourceFetcher.js +0 -5
- package/lib/module/constants/resourceFetcher.js.map +0 -1
- package/lib/module/constants/textEmbeddings/colbert.js +0 -8
- package/lib/module/constants/textEmbeddings/colbert.js.map +0 -1
- package/lib/module/constants/tts/models.js +0 -88
- package/lib/module/constants/tts/models.js.map +0 -1
- package/lib/module/constants/tts/voices.js +0 -333
- package/lib/module/constants/tts/voices.js.map +0 -1
- package/lib/module/constants/versions.js +0 -12
- package/lib/module/constants/versions.js.map +0 -1
- package/lib/module/controllers/BaseOCRController.js +0 -106
- package/lib/module/controllers/BaseOCRController.js.map +0 -1
- package/lib/module/controllers/LLMController.js +0 -389
- package/lib/module/controllers/LLMController.js.map +0 -1
- package/lib/module/controllers/OCRController.js +0 -13
- package/lib/module/controllers/OCRController.js.map +0 -1
- package/lib/module/controllers/VerticalOCRController.js +0 -13
- package/lib/module/controllers/VerticalOCRController.js.map +0 -1
- package/lib/module/errors/ErrorCodes.js +0 -201
- package/lib/module/errors/ErrorCodes.js.map +0 -1
- package/lib/module/errors/errorUtils.js +0 -61
- package/lib/module/errors/errorUtils.js.map +0 -1
- package/lib/module/hooks/computer_vision/useClassification.js +0 -40
- package/lib/module/hooks/computer_vision/useClassification.js.map +0 -1
- package/lib/module/hooks/computer_vision/useImageEmbeddings.js +0 -39
- package/lib/module/hooks/computer_vision/useImageEmbeddings.js.map +0 -1
- package/lib/module/hooks/computer_vision/useInstanceSegmentation.js +0 -62
- package/lib/module/hooks/computer_vision/useInstanceSegmentation.js.map +0 -1
- package/lib/module/hooks/computer_vision/useOCR.js +0 -50
- package/lib/module/hooks/computer_vision/useOCR.js.map +0 -1
- package/lib/module/hooks/computer_vision/useObjectDetection.js +0 -43
- package/lib/module/hooks/computer_vision/useObjectDetection.js.map +0 -1
- package/lib/module/hooks/computer_vision/usePoseEstimation.js +0 -43
- package/lib/module/hooks/computer_vision/usePoseEstimation.js.map +0 -1
- package/lib/module/hooks/computer_vision/useSemanticSegmentation.js +0 -46
- package/lib/module/hooks/computer_vision/useSemanticSegmentation.js.map +0 -1
- package/lib/module/hooks/computer_vision/useStyleTransfer.js +0 -39
- package/lib/module/hooks/computer_vision/useStyleTransfer.js.map +0 -1
- package/lib/module/hooks/computer_vision/useTextToImage.js +0 -85
- package/lib/module/hooks/computer_vision/useTextToImage.js.map +0 -1
- package/lib/module/hooks/computer_vision/useVerticalOCR.js +0 -51
- package/lib/module/hooks/computer_vision/useVerticalOCR.js.map +0 -1
- package/lib/module/hooks/general/useExecutorchModule.js +0 -20
- package/lib/module/hooks/general/useExecutorchModule.js.map +0 -1
- package/lib/module/hooks/natural_language_processing/useLLM.js +0 -101
- package/lib/module/hooks/natural_language_processing/useLLM.js.map +0 -1
- package/lib/module/hooks/natural_language_processing/usePrivacyFilter.js +0 -36
- package/lib/module/hooks/natural_language_processing/usePrivacyFilter.js.map +0 -1
- package/lib/module/hooks/natural_language_processing/useSpeechToText.js +0 -118
- package/lib/module/hooks/natural_language_processing/useSpeechToText.js.map +0 -1
- package/lib/module/hooks/natural_language_processing/useTextEmbeddings.js +0 -39
- package/lib/module/hooks/natural_language_processing/useTextEmbeddings.js.map +0 -1
- package/lib/module/hooks/natural_language_processing/useTextToSpeech.js +0 -123
- package/lib/module/hooks/natural_language_processing/useTextToSpeech.js.map +0 -1
- package/lib/module/hooks/natural_language_processing/useTokenizer.js +0 -62
- package/lib/module/hooks/natural_language_processing/useTokenizer.js.map +0 -1
- package/lib/module/hooks/natural_language_processing/useVAD.js +0 -44
- package/lib/module/hooks/natural_language_processing/useVAD.js.map +0 -1
- package/lib/module/hooks/useModule.js +0 -117
- package/lib/module/hooks/useModule.js.map +0 -1
- package/lib/module/hooks/useModuleFactory.js +0 -95
- package/lib/module/hooks/useModuleFactory.js.map +0 -1
- package/lib/module/modules/BaseModule.js +0 -85
- package/lib/module/modules/BaseModule.js.map +0 -1
- package/lib/module/modules/computer_vision/ClassificationModule.js +0 -93
- package/lib/module/modules/computer_vision/ClassificationModule.js.map +0 -1
- package/lib/module/modules/computer_vision/ImageEmbeddingsModule.js +0 -56
- package/lib/module/modules/computer_vision/ImageEmbeddingsModule.js.map +0 -1
- package/lib/module/modules/computer_vision/InstanceSegmentationModule.js +0 -319
- package/lib/module/modules/computer_vision/InstanceSegmentationModule.js.map +0 -1
- package/lib/module/modules/computer_vision/OCRModule.js +0 -76
- package/lib/module/modules/computer_vision/OCRModule.js.map +0 -1
- package/lib/module/modules/computer_vision/ObjectDetectionModule.js +0 -224
- package/lib/module/modules/computer_vision/ObjectDetectionModule.js.map +0 -1
- package/lib/module/modules/computer_vision/PoseEstimationModule.js +0 -203
- package/lib/module/modules/computer_vision/PoseEstimationModule.js.map +0 -1
- package/lib/module/modules/computer_vision/SemanticSegmentationModule.js +0 -152
- package/lib/module/modules/computer_vision/SemanticSegmentationModule.js.map +0 -1
- package/lib/module/modules/computer_vision/StyleTransferModule.js +0 -67
- package/lib/module/modules/computer_vision/StyleTransferModule.js.map +0 -1
- package/lib/module/modules/computer_vision/TextToImageModule.js +0 -96
- package/lib/module/modules/computer_vision/TextToImageModule.js.map +0 -1
- package/lib/module/modules/computer_vision/VerticalOCRModule.js +0 -77
- package/lib/module/modules/computer_vision/VerticalOCRModule.js.map +0 -1
- package/lib/module/modules/computer_vision/VisionLabeledModule.js +0 -39
- package/lib/module/modules/computer_vision/VisionLabeledModule.js.map +0 -1
- package/lib/module/modules/computer_vision/VisionModule.js +0 -132
- package/lib/module/modules/computer_vision/VisionModule.js.map +0 -1
- package/lib/module/modules/general/ExecutorchModule.js +0 -43
- package/lib/module/modules/general/ExecutorchModule.js.map +0 -1
- package/lib/module/modules/natural_language_processing/LLMModule.js +0 -196
- package/lib/module/modules/natural_language_processing/LLMModule.js.map +0 -1
- package/lib/module/modules/natural_language_processing/PrivacyFilterModule.js +0 -89
- package/lib/module/modules/natural_language_processing/PrivacyFilterModule.js.map +0 -1
- package/lib/module/modules/natural_language_processing/SpeechToTextModule.js +0 -200
- package/lib/module/modules/natural_language_processing/SpeechToTextModule.js.map +0 -1
- package/lib/module/modules/natural_language_processing/TextEmbeddingsModule.js +0 -89
- package/lib/module/modules/natural_language_processing/TextEmbeddingsModule.js.map +0 -1
- package/lib/module/modules/natural_language_processing/TextToSpeechModule.js +0 -201
- package/lib/module/modules/natural_language_processing/TextToSpeechModule.js.map +0 -1
- package/lib/module/modules/natural_language_processing/TokenizerModule.js +0 -85
- package/lib/module/modules/natural_language_processing/TokenizerModule.js.map +0 -1
- package/lib/module/modules/natural_language_processing/VADModule.js +0 -130
- package/lib/module/modules/natural_language_processing/VADModule.js.map +0 -1
- package/lib/module/native/RnExecutorchModules.js +0 -17
- package/lib/module/native/RnExecutorchModules.js.map +0 -1
- package/lib/module/types/classification.js +0 -41
- package/lib/module/types/classification.js.map +0 -1
- package/lib/module/types/common.js +0 -153
- package/lib/module/types/common.js.map +0 -1
- package/lib/module/types/computerVision.js +0 -4
- package/lib/module/types/computerVision.js.map +0 -1
- package/lib/module/types/executorchModule.js +0 -4
- package/lib/module/types/executorchModule.js.map +0 -1
- package/lib/module/types/genericImageSegmentation.js +0 -2
- package/lib/module/types/genericImageSegmentation.js.map +0 -1
- package/lib/module/types/imageEmbeddings.js +0 -4
- package/lib/module/types/imageEmbeddings.js.map +0 -1
- package/lib/module/types/instanceSegmentation.js +0 -4
- package/lib/module/types/instanceSegmentation.js.map +0 -1
- package/lib/module/types/llm.js +0 -128
- package/lib/module/types/llm.js.map +0 -1
- package/lib/module/types/objectDetection.js +0 -71
- package/lib/module/types/objectDetection.js.map +0 -1
- package/lib/module/types/ocr.js +0 -4
- package/lib/module/types/ocr.js.map +0 -1
- package/lib/module/types/poseEstimation.js +0 -59
- package/lib/module/types/poseEstimation.js.map +0 -1
- package/lib/module/types/privacyFilter.js +0 -4
- package/lib/module/types/privacyFilter.js.map +0 -1
- package/lib/module/types/semanticSegmentation.js +0 -84
- package/lib/module/types/semanticSegmentation.js.map +0 -1
- package/lib/module/types/stt.js +0 -4
- package/lib/module/types/stt.js.map +0 -1
- package/lib/module/types/styleTransfer.js +0 -4
- package/lib/module/types/styleTransfer.js.map +0 -1
- package/lib/module/types/textEmbeddings.js +0 -4
- package/lib/module/types/textEmbeddings.js.map +0 -1
- package/lib/module/types/tokenizer.js +0 -4
- package/lib/module/types/tokenizer.js.map +0 -1
- package/lib/module/types/tti.js +0 -4
- package/lib/module/types/tti.js.map +0 -1
- package/lib/module/types/tts.js +0 -4
- package/lib/module/types/tts.js.map +0 -1
- package/lib/module/types/vad.js +0 -4
- package/lib/module/types/vad.js.map +0 -1
- package/lib/module/utils/BaseResourceFetcherClass.js +0 -173
- package/lib/module/utils/BaseResourceFetcherClass.js.map +0 -1
- package/lib/module/utils/ResourceFetcher.js +0 -118
- package/lib/module/utils/ResourceFetcher.js.map +0 -1
- package/lib/module/utils/ResourceFetcherUtils.js +0 -172
- package/lib/module/utils/ResourceFetcherUtils.js.map +0 -1
- package/lib/module/utils/commonVision.js +0 -11
- package/lib/module/utils/commonVision.js.map +0 -1
- package/lib/module/utils/labelUtils.js +0 -13
- package/lib/module/utils/labelUtils.js.map +0 -1
- package/lib/module/utils/llm.js +0 -91
- package/lib/module/utils/llm.js.map +0 -1
- package/lib/module/utils/llms/context_strategy/MessageCountContextStrategy.js +0 -32
- package/lib/module/utils/llms/context_strategy/MessageCountContextStrategy.js.map +0 -1
- package/lib/module/utils/llms/context_strategy/NoopContextStrategy.js +0 -25
- package/lib/module/utils/llms/context_strategy/NoopContextStrategy.js.map +0 -1
- package/lib/module/utils/llms/context_strategy/SlidingWindowContextStrategy.js +0 -57
- package/lib/module/utils/llms/context_strategy/SlidingWindowContextStrategy.js.map +0 -1
- package/lib/module/utils/llms/context_strategy/index.js +0 -6
- package/lib/module/utils/llms/context_strategy/index.js.map +0 -1
- package/lib/module/utils/segmentAnythingPrompts.js +0 -121
- package/lib/module/utils/segmentAnythingPrompts.js.map +0 -1
- package/lib/module/utils/textEmbeddings.js +0 -35
- package/lib/module/utils/textEmbeddings.js.map +0 -1
- package/lib/typescript/common/Logger.d.ts +0 -12
- package/lib/typescript/common/Logger.d.ts.map +0 -1
- package/lib/typescript/constants/classification.d.ts +0 -1008
- package/lib/typescript/constants/classification.d.ts.map +0 -1
- package/lib/typescript/constants/commonVision.d.ts +0 -210
- package/lib/typescript/constants/commonVision.d.ts.map +0 -1
- package/lib/typescript/constants/llmDefaults.d.ts +0 -29
- package/lib/typescript/constants/llmDefaults.d.ts.map +0 -1
- package/lib/typescript/constants/modelRegistry.d.ts +0 -919
- package/lib/typescript/constants/modelRegistry.d.ts.map +0 -1
- package/lib/typescript/constants/modelUrls.d.ts +0 -997
- package/lib/typescript/constants/modelUrls.d.ts.map +0 -1
- package/lib/typescript/constants/ocr/models.d.ts +0 -568
- package/lib/typescript/constants/ocr/models.d.ts.map +0 -1
- package/lib/typescript/constants/ocr/symbols.d.ts +0 -79
- package/lib/typescript/constants/ocr/symbols.d.ts.map +0 -1
- package/lib/typescript/constants/poseEstimation.d.ts +0 -25
- package/lib/typescript/constants/poseEstimation.d.ts.map +0 -1
- package/lib/typescript/constants/privacyFilterLabels.d.ts +0 -20
- package/lib/typescript/constants/privacyFilterLabels.d.ts.map +0 -1
- package/lib/typescript/constants/resourceFetcher.d.ts +0 -3
- package/lib/typescript/constants/resourceFetcher.d.ts.map +0 -1
- package/lib/typescript/constants/textEmbeddings/colbert.d.ts +0 -6
- package/lib/typescript/constants/textEmbeddings/colbert.d.ts.map +0 -1
- package/lib/typescript/constants/tts/models.d.ts +0 -65
- package/lib/typescript/constants/tts/models.d.ts.map +0 -1
- package/lib/typescript/constants/tts/voices.d.ts +0 -102
- package/lib/typescript/constants/tts/voices.d.ts.map +0 -1
- package/lib/typescript/constants/versions.d.ts +0 -5
- package/lib/typescript/constants/versions.d.ts.map +0 -1
- package/lib/typescript/controllers/BaseOCRController.d.ts +0 -23
- package/lib/typescript/controllers/BaseOCRController.d.ts.map +0 -1
- package/lib/typescript/controllers/LLMController.d.ts +0 -53
- package/lib/typescript/controllers/LLMController.d.ts.map +0 -1
- package/lib/typescript/controllers/OCRController.d.ts +0 -8
- package/lib/typescript/controllers/OCRController.d.ts.map +0 -1
- package/lib/typescript/controllers/VerticalOCRController.d.ts +0 -8
- package/lib/typescript/controllers/VerticalOCRController.d.ts.map +0 -1
- package/lib/typescript/errors/ErrorCodes.d.ts +0 -195
- package/lib/typescript/errors/ErrorCodes.d.ts.map +0 -1
- package/lib/typescript/errors/errorUtils.d.ts +0 -23
- package/lib/typescript/errors/errorUtils.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/useClassification.d.ts +0 -11
- package/lib/typescript/hooks/computer_vision/useClassification.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/useImageEmbeddings.d.ts +0 -9
- package/lib/typescript/hooks/computer_vision/useImageEmbeddings.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/useInstanceSegmentation.d.ts +0 -30
- package/lib/typescript/hooks/computer_vision/useInstanceSegmentation.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/useOCR.d.ts +0 -9
- package/lib/typescript/hooks/computer_vision/useOCR.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/useObjectDetection.d.ts +0 -11
- package/lib/typescript/hooks/computer_vision/useObjectDetection.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/usePoseEstimation.d.ts +0 -11
- package/lib/typescript/hooks/computer_vision/usePoseEstimation.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/useSemanticSegmentation.d.ts +0 -17
- package/lib/typescript/hooks/computer_vision/useSemanticSegmentation.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/useStyleTransfer.d.ts +0 -9
- package/lib/typescript/hooks/computer_vision/useStyleTransfer.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/useTextToImage.d.ts +0 -9
- package/lib/typescript/hooks/computer_vision/useTextToImage.d.ts.map +0 -1
- package/lib/typescript/hooks/computer_vision/useVerticalOCR.d.ts +0 -9
- package/lib/typescript/hooks/computer_vision/useVerticalOCR.d.ts.map +0 -1
- package/lib/typescript/hooks/general/useExecutorchModule.d.ts +0 -9
- package/lib/typescript/hooks/general/useExecutorchModule.d.ts.map +0 -1
- package/lib/typescript/hooks/natural_language_processing/useLLM.d.ts +0 -14
- package/lib/typescript/hooks/natural_language_processing/useLLM.d.ts.map +0 -1
- package/lib/typescript/hooks/natural_language_processing/usePrivacyFilter.d.ts +0 -9
- package/lib/typescript/hooks/natural_language_processing/usePrivacyFilter.d.ts.map +0 -1
- package/lib/typescript/hooks/natural_language_processing/useSpeechToText.d.ts +0 -9
- package/lib/typescript/hooks/natural_language_processing/useSpeechToText.d.ts.map +0 -1
- package/lib/typescript/hooks/natural_language_processing/useTextEmbeddings.d.ts +0 -12
- package/lib/typescript/hooks/natural_language_processing/useTextEmbeddings.d.ts.map +0 -1
- package/lib/typescript/hooks/natural_language_processing/useTextToSpeech.d.ts +0 -13
- package/lib/typescript/hooks/natural_language_processing/useTextToSpeech.d.ts.map +0 -1
- package/lib/typescript/hooks/natural_language_processing/useTokenizer.d.ts +0 -9
- package/lib/typescript/hooks/natural_language_processing/useTokenizer.d.ts.map +0 -1
- package/lib/typescript/hooks/natural_language_processing/useVAD.d.ts +0 -9
- package/lib/typescript/hooks/natural_language_processing/useVAD.d.ts.map +0 -1
- package/lib/typescript/hooks/useModule.d.ts +0 -62
- package/lib/typescript/hooks/useModule.d.ts.map +0 -1
- package/lib/typescript/hooks/useModuleFactory.d.ts +0 -35
- package/lib/typescript/hooks/useModuleFactory.d.ts.map +0 -1
- package/lib/typescript/index.d.ts +0 -125
- package/lib/typescript/index.d.ts.map +0 -1
- package/lib/typescript/modules/BaseModule.d.ts +0 -74
- package/lib/typescript/modules/BaseModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/ClassificationModule.d.ts +0 -66
- package/lib/typescript/modules/computer_vision/ClassificationModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/ImageEmbeddingsModule.d.ts +0 -32
- package/lib/typescript/modules/computer_vision/ImageEmbeddingsModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/InstanceSegmentationModule.d.ts +0 -229
- package/lib/typescript/modules/computer_vision/InstanceSegmentationModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/OCRModule.d.ts +0 -52
- package/lib/typescript/modules/computer_vision/OCRModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/ObjectDetectionModule.d.ts +0 -158
- package/lib/typescript/modules/computer_vision/ObjectDetectionModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/PoseEstimationModule.d.ts +0 -84
- package/lib/typescript/modules/computer_vision/PoseEstimationModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/SemanticSegmentationModule.d.ts +0 -182
- package/lib/typescript/modules/computer_vision/SemanticSegmentationModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/StyleTransferModule.d.ts +0 -42
- package/lib/typescript/modules/computer_vision/StyleTransferModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/TextToImageModule.d.ts +0 -66
- package/lib/typescript/modules/computer_vision/TextToImageModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/VerticalOCRModule.d.ts +0 -54
- package/lib/typescript/modules/computer_vision/VerticalOCRModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/VisionLabeledModule.d.ts +0 -24
- package/lib/typescript/modules/computer_vision/VisionLabeledModule.d.ts.map +0 -1
- package/lib/typescript/modules/computer_vision/VisionModule.d.ts +0 -82
- package/lib/typescript/modules/computer_vision/VisionModule.d.ts.map +0 -1
- package/lib/typescript/modules/general/ExecutorchModule.d.ts +0 -24
- package/lib/typescript/modules/general/ExecutorchModule.d.ts.map +0 -1
- package/lib/typescript/modules/natural_language_processing/LLMModule.d.ts +0 -130
- package/lib/typescript/modules/natural_language_processing/LLMModule.d.ts.map +0 -1
- package/lib/typescript/modules/natural_language_processing/PrivacyFilterModule.d.ts +0 -46
- package/lib/typescript/modules/natural_language_processing/PrivacyFilterModule.d.ts.map +0 -1
- package/lib/typescript/modules/natural_language_processing/SpeechToTextModule.d.ts +0 -95
- package/lib/typescript/modules/natural_language_processing/SpeechToTextModule.d.ts.map +0 -1
- package/lib/typescript/modules/natural_language_processing/TextEmbeddingsModule.d.ts +0 -45
- package/lib/typescript/modules/natural_language_processing/TextEmbeddingsModule.d.ts.map +0 -1
- package/lib/typescript/modules/natural_language_processing/TextToSpeechModule.d.ts +0 -65
- package/lib/typescript/modules/natural_language_processing/TextToSpeechModule.d.ts.map +0 -1
- package/lib/typescript/modules/natural_language_processing/TokenizerModule.d.ts +0 -51
- package/lib/typescript/modules/natural_language_processing/TokenizerModule.d.ts.map +0 -1
- package/lib/typescript/modules/natural_language_processing/VADModule.d.ts +0 -53
- package/lib/typescript/modules/natural_language_processing/VADModule.d.ts.map +0 -1
- package/lib/typescript/native/NativeETInstaller.d.ts +0 -7
- package/lib/typescript/native/NativeETInstaller.d.ts.map +0 -1
- package/lib/typescript/native/RnExecutorchModules.d.ts +0 -4
- package/lib/typescript/native/RnExecutorchModules.d.ts.map +0 -1
- package/lib/typescript/types/classification.d.ts +0 -98
- package/lib/typescript/types/classification.d.ts.map +0 -1
- package/lib/typescript/types/common.d.ts +0 -185
- package/lib/typescript/types/common.d.ts.map +0 -1
- package/lib/typescript/types/computerVision.d.ts +0 -12
- package/lib/typescript/types/computerVision.d.ts.map +0 -1
- package/lib/typescript/types/executorchModule.d.ts +0 -43
- package/lib/typescript/types/executorchModule.d.ts.map +0 -1
- package/lib/typescript/types/genericImageSegmentation.d.ts +0 -1
- package/lib/typescript/types/genericImageSegmentation.d.ts.map +0 -1
- package/lib/typescript/types/imageEmbeddings.d.ts +0 -71
- package/lib/typescript/types/imageEmbeddings.d.ts.map +0 -1
- package/lib/typescript/types/instanceSegmentation.d.ts +0 -204
- package/lib/typescript/types/instanceSegmentation.d.ts.map +0 -1
- package/lib/typescript/types/llm.d.ts +0 -345
- package/lib/typescript/types/llm.d.ts.map +0 -1
- package/lib/typescript/types/objectDetection.d.ts +0 -188
- package/lib/typescript/types/objectDetection.d.ts.map +0 -1
- package/lib/typescript/types/ocr.d.ts +0 -125
- package/lib/typescript/types/ocr.d.ts.map +0 -1
- package/lib/typescript/types/poseEstimation.d.ts +0 -134
- package/lib/typescript/types/poseEstimation.d.ts.map +0 -1
- package/lib/typescript/types/privacyFilter.d.ts +0 -88
- package/lib/typescript/types/privacyFilter.d.ts.map +0 -1
- package/lib/typescript/types/semanticSegmentation.d.ts +0 -176
- package/lib/typescript/types/semanticSegmentation.d.ts.map +0 -1
- package/lib/typescript/types/stt.d.ts +0 -198
- package/lib/typescript/types/stt.d.ts.map +0 -1
- package/lib/typescript/types/styleTransfer.d.ts +0 -73
- package/lib/typescript/types/styleTransfer.d.ts.map +0 -1
- package/lib/typescript/types/textEmbeddings.d.ts +0 -121
- package/lib/typescript/types/textEmbeddings.d.ts.map +0 -1
- package/lib/typescript/types/tokenizer.d.ts +0 -73
- package/lib/typescript/types/tokenizer.d.ts.map +0 -1
- package/lib/typescript/types/tti.d.ts +0 -82
- package/lib/typescript/types/tti.d.ts.map +0 -1
- package/lib/typescript/types/tts.d.ts +0 -196
- package/lib/typescript/types/tts.d.ts.map +0 -1
- package/lib/typescript/types/vad.d.ts +0 -106
- package/lib/typescript/types/vad.d.ts.map +0 -1
- package/lib/typescript/utils/BaseResourceFetcherClass.d.ts +0 -136
- package/lib/typescript/utils/BaseResourceFetcherClass.d.ts.map +0 -1
- package/lib/typescript/utils/ResourceFetcher.d.ts +0 -94
- package/lib/typescript/utils/ResourceFetcher.d.ts.map +0 -1
- package/lib/typescript/utils/ResourceFetcherUtils.d.ts +0 -107
- package/lib/typescript/utils/ResourceFetcherUtils.d.ts.map +0 -1
- package/lib/typescript/utils/commonVision.d.ts +0 -8
- package/lib/typescript/utils/commonVision.d.ts.map +0 -1
- package/lib/typescript/utils/labelUtils.d.ts +0 -2
- package/lib/typescript/utils/labelUtils.d.ts.map +0 -1
- package/lib/typescript/utils/llm.d.ts +0 -31
- package/lib/typescript/utils/llm.d.ts.map +0 -1
- package/lib/typescript/utils/llms/context_strategy/MessageCountContextStrategy.d.ts +0 -24
- package/lib/typescript/utils/llms/context_strategy/MessageCountContextStrategy.d.ts.map +0 -1
- package/lib/typescript/utils/llms/context_strategy/NoopContextStrategy.d.ts +0 -19
- package/lib/typescript/utils/llms/context_strategy/NoopContextStrategy.d.ts.map +0 -1
- package/lib/typescript/utils/llms/context_strategy/SlidingWindowContextStrategy.d.ts +0 -31
- package/lib/typescript/utils/llms/context_strategy/SlidingWindowContextStrategy.d.ts.map +0 -1
- package/lib/typescript/utils/llms/context_strategy/index.d.ts +0 -4
- package/lib/typescript/utils/llms/context_strategy/index.d.ts.map +0 -1
- package/lib/typescript/utils/segmentAnythingPrompts.d.ts +0 -40
- package/lib/typescript/utils/segmentAnythingPrompts.d.ts.map +0 -1
- package/lib/typescript/utils/textEmbeddings.d.ts +0 -4
- package/lib/typescript/utils/textEmbeddings.d.ts.map +0 -1
- package/src/constants/llmDefaults.ts +0 -50
- package/src/constants/modelRegistry.ts +0 -981
- package/src/constants/modelUrls.ts +0 -1470
- package/src/constants/ocr/models.ts +0 -353
- package/src/constants/privacyFilterLabels.ts +0 -288
- package/src/constants/resourceFetcher.ts +0 -4
- package/src/constants/textEmbeddings/colbert.ts +0 -7
- package/src/constants/tts/models.ts +0 -88
- package/src/constants/tts/voices.ts +0 -339
- package/src/constants/versions.ts +0 -11
- package/src/controllers/BaseOCRController.ts +0 -162
- package/src/controllers/LLMController.ts +0 -557
- package/src/controllers/OCRController.ts +0 -32
- package/src/errors/errorUtils.ts +0 -83
- package/src/hooks/computer_vision/useClassification.ts +0 -52
- package/src/hooks/computer_vision/useImageEmbeddings.ts +0 -45
- package/src/hooks/computer_vision/useInstanceSegmentation.ts +0 -78
- package/src/hooks/computer_vision/useOCR.ts +0 -78
- package/src/hooks/computer_vision/useObjectDetection.ts +0 -60
- package/src/hooks/computer_vision/usePoseEstimation.ts +0 -60
- package/src/hooks/computer_vision/useSemanticSegmentation.ts +0 -67
- package/src/hooks/computer_vision/useStyleTransfer.ts +0 -47
- package/src/hooks/computer_vision/useTextToImage.ts +0 -112
- package/src/hooks/computer_vision/useVerticalOCR.ts +0 -85
- package/src/hooks/general/useExecutorchModule.ts +0 -22
- package/src/hooks/natural_language_processing/useLLM.ts +0 -157
- package/src/hooks/natural_language_processing/usePrivacyFilter.ts +0 -32
- package/src/hooks/natural_language_processing/useSpeechToText.ts +0 -191
- package/src/hooks/natural_language_processing/useTextEmbeddings.ts +0 -37
- package/src/hooks/natural_language_processing/useTextToSpeech.ts +0 -183
- package/src/hooks/natural_language_processing/useTokenizer.ts +0 -70
- package/src/hooks/natural_language_processing/useVAD.ts +0 -48
- package/src/hooks/useModule.ts +0 -148
- package/src/hooks/useModuleFactory.ts +0 -120
- package/src/modules/BaseModule.ts +0 -86
- package/src/modules/computer_vision/ClassificationModule.ts +0 -139
- package/src/modules/computer_vision/ImageEmbeddingsModule.ts +0 -72
- package/src/modules/computer_vision/InstanceSegmentationModule.ts +0 -483
- package/src/modules/computer_vision/OCRModule.ts +0 -98
- package/src/modules/computer_vision/ObjectDetectionModule.ts +0 -353
- package/src/modules/computer_vision/PoseEstimationModule.ts +0 -340
- package/src/modules/computer_vision/SemanticSegmentationModule.ts +0 -199
- package/src/modules/computer_vision/StyleTransferModule.ts +0 -85
- package/src/modules/computer_vision/TextToImageModule.ts +0 -178
- package/src/modules/computer_vision/VerticalOCRModule.ts +0 -103
- package/src/modules/computer_vision/VisionLabeledModule.ts +0 -49
- package/src/modules/computer_vision/VisionModule.ts +0 -147
- package/src/modules/general/ExecutorchModule.ts +0 -48
- package/src/modules/natural_language_processing/LLMModule.ts +0 -238
- package/src/modules/natural_language_processing/PrivacyFilterModule.ts +0 -137
- package/src/modules/natural_language_processing/SpeechToTextModule.ts +0 -295
- package/src/modules/natural_language_processing/TextEmbeddingsModule.ts +0 -122
- package/src/modules/natural_language_processing/TextToSpeechModule.ts +0 -319
- package/src/modules/natural_language_processing/TokenizerModule.ts +0 -93
- package/src/modules/natural_language_processing/VADModule.ts +0 -156
- package/src/native/RnExecutorchModules.ts +0 -26
- package/src/types/computerVision.ts +0 -25
- package/src/types/instanceSegmentation.ts +0 -216
- package/src/types/llm.ts +0 -424
- package/src/types/poseEstimation.ts +0 -165
- package/src/types/semanticSegmentation.ts +0 -180
- package/src/types/stt.ts +0 -310
- package/src/types/textEmbeddings.ts +0 -150
- package/src/types/tokenizer.ts +0 -84
- package/src/types/tti.ts +0 -98
- package/src/types/tts.ts +0 -262
- package/src/utils/BaseResourceFetcherClass.ts +0 -230
- package/src/utils/ResourceFetcher.ts +0 -147
- package/src/utils/ResourceFetcherUtils.ts +0 -216
- package/src/utils/labelUtils.ts +0 -12
- package/src/utils/llm.ts +0 -127
- package/src/utils/llms/context_strategy/SlidingWindowContextStrategy.ts +0 -66
- package/src/utils/segmentAnythingPrompts.ts +0 -157
- package/src/utils/textEmbeddings.ts +0 -43
- package/third-party/android/libs/cpuinfo/arm64-v8a/libcpuinfo.so +0 -0
- package/third-party/android/libs/executorch/arm64-v8a/libexecutorch.so +0 -0
- package/third-party/android/libs/executorch/x86_64/libexecutorch.so +0 -0
- package/third-party/android/libs/opencv/arm64-v8a/libopencv_core.a +0 -0
- package/third-party/android/libs/opencv/arm64-v8a/libopencv_features2d.a +0 -0
- package/third-party/android/libs/opencv/arm64-v8a/libopencv_highgui.a +0 -0
- package/third-party/android/libs/opencv/arm64-v8a/libopencv_imgproc.a +0 -0
- package/third-party/android/libs/opencv/arm64-v8a/libopencv_photo.a +0 -0
- package/third-party/android/libs/opencv/arm64-v8a/libopencv_video.a +0 -0
- package/third-party/android/libs/opencv/x86_64/libopencv_core.a +0 -0
- package/third-party/android/libs/opencv/x86_64/libopencv_features2d.a +0 -0
- package/third-party/android/libs/opencv/x86_64/libopencv_highgui.a +0 -0
- package/third-party/android/libs/opencv/x86_64/libopencv_imgproc.a +0 -0
- package/third-party/android/libs/opencv/x86_64/libopencv_photo.a +0 -0
- package/third-party/android/libs/opencv/x86_64/libopencv_video.a +0 -0
- package/third-party/android/libs/opencv-third-party/arm64-v8a/libkleidicv.a +0 -0
- package/third-party/android/libs/opencv-third-party/arm64-v8a/libkleidicv_hal.a +0 -0
- package/third-party/android/libs/opencv-third-party/arm64-v8a/libkleidicv_thread.a +0 -0
- package/third-party/android/libs/pthreadpool/arm64-v8a/libpthreadpool.so +0 -0
- package/third-party/include/absl/base/attributes.h +0 -998
- package/third-party/include/absl/base/call_once.h +0 -223
- package/third-party/include/absl/base/casts.h +0 -180
- package/third-party/include/absl/base/config.h +0 -984
- package/third-party/include/absl/base/const_init.h +0 -76
- package/third-party/include/absl/base/dynamic_annotations.h +0 -476
- package/third-party/include/absl/base/internal/atomic_hook.h +0 -197
- package/third-party/include/absl/base/internal/atomic_hook_test_helper.h +0 -34
- package/third-party/include/absl/base/internal/cycleclock.h +0 -144
- package/third-party/include/absl/base/internal/cycleclock_config.h +0 -55
- package/third-party/include/absl/base/internal/direct_mmap.h +0 -170
- package/third-party/include/absl/base/internal/dynamic_annotations.h +0 -398
- package/third-party/include/absl/base/internal/endian.h +0 -282
- package/third-party/include/absl/base/internal/errno_saver.h +0 -43
- package/third-party/include/absl/base/internal/exception_safety_testing.h +0 -1108
- package/third-party/include/absl/base/internal/exception_testing.h +0 -42
- package/third-party/include/absl/base/internal/fast_type_id.h +0 -47
- package/third-party/include/absl/base/internal/hide_ptr.h +0 -49
- package/third-party/include/absl/base/internal/identity.h +0 -37
- package/third-party/include/absl/base/internal/inline_variable.h +0 -108
- package/third-party/include/absl/base/internal/inline_variable_testing.h +0 -46
- package/third-party/include/absl/base/internal/invoke.h +0 -235
- package/third-party/include/absl/base/internal/low_level_alloc.h +0 -127
- package/third-party/include/absl/base/internal/low_level_scheduling.h +0 -130
- package/third-party/include/absl/base/internal/nullability_impl.h +0 -69
- package/third-party/include/absl/base/internal/per_thread_tls.h +0 -52
- package/third-party/include/absl/base/internal/poison.h +0 -59
- package/third-party/include/absl/base/internal/pretty_function.h +0 -33
- package/third-party/include/absl/base/internal/raw_logging.h +0 -219
- package/third-party/include/absl/base/internal/scheduling_mode.h +0 -58
- package/third-party/include/absl/base/internal/scoped_set_env.h +0 -45
- package/third-party/include/absl/base/internal/spinlock.h +0 -275
- package/third-party/include/absl/base/internal/spinlock_akaros.inc +0 -35
- package/third-party/include/absl/base/internal/spinlock_linux.inc +0 -71
- package/third-party/include/absl/base/internal/spinlock_posix.inc +0 -46
- package/third-party/include/absl/base/internal/spinlock_wait.h +0 -95
- package/third-party/include/absl/base/internal/spinlock_win32.inc +0 -40
- package/third-party/include/absl/base/internal/strerror.h +0 -39
- package/third-party/include/absl/base/internal/sysinfo.h +0 -74
- package/third-party/include/absl/base/internal/thread_identity.h +0 -273
- package/third-party/include/absl/base/internal/throw_delegate.h +0 -75
- package/third-party/include/absl/base/internal/tracing.h +0 -81
- package/third-party/include/absl/base/internal/tsan_mutex_interface.h +0 -68
- package/third-party/include/absl/base/internal/unaligned_access.h +0 -89
- package/third-party/include/absl/base/internal/unscaledcycleclock.h +0 -96
- package/third-party/include/absl/base/internal/unscaledcycleclock_config.h +0 -62
- package/third-party/include/absl/base/log_severity.h +0 -191
- package/third-party/include/absl/base/macros.h +0 -225
- package/third-party/include/absl/base/no_destructor.h +0 -208
- package/third-party/include/absl/base/nullability.h +0 -282
- package/third-party/include/absl/base/optimization.h +0 -324
- package/third-party/include/absl/base/options.h +0 -259
- package/third-party/include/absl/base/policy_checks.h +0 -115
- package/third-party/include/absl/base/port.h +0 -25
- package/third-party/include/absl/base/prefetch.h +0 -209
- package/third-party/include/absl/base/thread_annotations.h +0 -333
- package/third-party/include/absl/meta/type_traits.h +0 -636
- package/third-party/include/absl/strings/ascii.h +0 -284
- package/third-party/include/absl/strings/charconv.h +0 -123
- package/third-party/include/absl/strings/charset.h +0 -164
- package/third-party/include/absl/strings/cord.h +0 -1766
- package/third-party/include/absl/strings/cord_analysis.h +0 -62
- package/third-party/include/absl/strings/cord_buffer.h +0 -574
- package/third-party/include/absl/strings/cord_test_helpers.h +0 -121
- package/third-party/include/absl/strings/cordz_test_helpers.h +0 -154
- package/third-party/include/absl/strings/escaping.h +0 -186
- package/third-party/include/absl/strings/has_absl_stringify.h +0 -64
- package/third-party/include/absl/strings/has_ostream_operator.h +0 -42
- package/third-party/include/absl/strings/internal/charconv_bigint.h +0 -430
- package/third-party/include/absl/strings/internal/charconv_parse.h +0 -99
- package/third-party/include/absl/strings/internal/cord_data_edge.h +0 -65
- package/third-party/include/absl/strings/internal/cord_internal.h +0 -929
- package/third-party/include/absl/strings/internal/cord_rep_btree.h +0 -957
- package/third-party/include/absl/strings/internal/cord_rep_btree_navigator.h +0 -270
- package/third-party/include/absl/strings/internal/cord_rep_btree_reader.h +0 -213
- package/third-party/include/absl/strings/internal/cord_rep_consume.h +0 -47
- package/third-party/include/absl/strings/internal/cord_rep_crc.h +0 -103
- package/third-party/include/absl/strings/internal/cord_rep_flat.h +0 -193
- package/third-party/include/absl/strings/internal/cord_rep_test_util.h +0 -205
- package/third-party/include/absl/strings/internal/cordz_functions.h +0 -87
- package/third-party/include/absl/strings/internal/cordz_handle.h +0 -98
- package/third-party/include/absl/strings/internal/cordz_info.h +0 -304
- package/third-party/include/absl/strings/internal/cordz_sample_token.h +0 -97
- package/third-party/include/absl/strings/internal/cordz_statistics.h +0 -88
- package/third-party/include/absl/strings/internal/cordz_update_scope.h +0 -71
- package/third-party/include/absl/strings/internal/cordz_update_tracker.h +0 -123
- package/third-party/include/absl/strings/internal/damerau_levenshtein_distance.h +0 -34
- package/third-party/include/absl/strings/internal/escaping.h +0 -57
- package/third-party/include/absl/strings/internal/escaping_test_common.h +0 -135
- package/third-party/include/absl/strings/internal/memutil.h +0 -40
- package/third-party/include/absl/strings/internal/numbers_test_common.h +0 -184
- package/third-party/include/absl/strings/internal/ostringstream.h +0 -113
- package/third-party/include/absl/strings/internal/pow10_helper.h +0 -40
- package/third-party/include/absl/strings/internal/resize_uninitialized.h +0 -117
- package/third-party/include/absl/strings/internal/stl_type_traits.h +0 -239
- package/third-party/include/absl/strings/internal/str_format/arg.h +0 -658
- package/third-party/include/absl/strings/internal/str_format/bind.h +0 -234
- package/third-party/include/absl/strings/internal/str_format/checker.h +0 -105
- package/third-party/include/absl/strings/internal/str_format/constexpr_parser.h +0 -373
- package/third-party/include/absl/strings/internal/str_format/extension.h +0 -449
- package/third-party/include/absl/strings/internal/str_format/float_conversion.h +0 -37
- package/third-party/include/absl/strings/internal/str_format/output.h +0 -97
- package/third-party/include/absl/strings/internal/str_format/parser.h +0 -275
- package/third-party/include/absl/strings/internal/str_join_internal.h +0 -324
- package/third-party/include/absl/strings/internal/str_split_internal.h +0 -514
- package/third-party/include/absl/strings/internal/string_constant.h +0 -69
- package/third-party/include/absl/strings/internal/stringify_sink.h +0 -57
- package/third-party/include/absl/strings/internal/utf8.h +0 -50
- package/third-party/include/absl/strings/match.h +0 -128
- package/third-party/include/absl/strings/numbers.h +0 -317
- package/third-party/include/absl/strings/str_cat.h +0 -611
- package/third-party/include/absl/strings/str_format.h +0 -886
- package/third-party/include/absl/strings/str_join.h +0 -301
- package/third-party/include/absl/strings/str_replace.h +0 -227
- package/third-party/include/absl/strings/str_split.h +0 -575
- package/third-party/include/absl/strings/string_view.h +0 -770
- package/third-party/include/absl/strings/strip.h +0 -100
- package/third-party/include/absl/strings/substitute.h +0 -760
- package/third-party/include/absl/types/any.h +0 -504
- package/third-party/include/absl/types/bad_any_cast.h +0 -75
- package/third-party/include/absl/types/bad_optional_access.h +0 -78
- package/third-party/include/absl/types/bad_variant_access.h +0 -82
- package/third-party/include/absl/types/compare.h +0 -502
- package/third-party/include/absl/types/internal/optional.h +0 -337
- package/third-party/include/absl/types/internal/span.h +0 -137
- package/third-party/include/absl/types/internal/variant.h +0 -1535
- package/third-party/include/absl/types/optional.h +0 -775
- package/third-party/include/absl/types/span.h +0 -787
- package/third-party/include/absl/types/variant.h +0 -848
- package/third-party/include/absl/utility/internal/if_constexpr.h +0 -70
- package/third-party/include/absl/utility/utility.h +0 -225
- package/third-party/include/c10/macros/Export.h +0 -1
- package/third-party/include/c10/macros/Macros.h +0 -1
- package/third-party/include/c10/util/BFloat16-inl.h +0 -1
- package/third-party/include/c10/util/BFloat16-math.h +0 -266
- package/third-party/include/c10/util/BFloat16.h +0 -1
- package/third-party/include/c10/util/Half-inl.h +0 -1
- package/third-party/include/c10/util/Half.h +0 -8
- package/third-party/include/c10/util/TypeSafeSignMath.h +0 -1
- package/third-party/include/c10/util/bit_cast.h +0 -1
- package/third-party/include/c10/util/complex.h +0 -72
- package/third-party/include/c10/util/complex_math.h +0 -399
- package/third-party/include/c10/util/complex_utils.h +0 -41
- package/third-party/include/c10/util/floating_point_utils.h +0 -1
- package/third-party/include/c10/util/irange.h +0 -107
- package/third-party/include/c10/util/llvmMathExtras.h +0 -866
- package/third-party/include/c10/util/overflows.h +0 -95
- package/third-party/include/c10/util/safe_numerics.h +0 -113
- package/third-party/include/cpuinfo/cpuinfo.h +0 -2363
- package/third-party/include/executorch/ExecuTorch.h +0 -15
- package/third-party/include/executorch/ExecuTorchError.h +0 -90
- package/third-party/include/executorch/ExecuTorchLLM/ExecuTorchLLM.h +0 -12
- package/third-party/include/executorch/ExecuTorchLLM/ExecuTorchLLMConfig.h +0 -56
- package/third-party/include/executorch/ExecuTorchLLM/ExecuTorchLLMError.h +0 -16
- package/third-party/include/executorch/ExecuTorchLLM/ExecuTorchLLMMultimodalRunner.h +0 -227
- package/third-party/include/executorch/ExecuTorchLLM/ExecuTorchLLMTextRunner.h +0 -97
- package/third-party/include/executorch/ExecuTorchLLM/module.modulemap +0 -4
- package/third-party/include/executorch/ExecuTorchLog.h +0 -77
- package/third-party/include/executorch/ExecuTorchModule.h +0 -609
- package/third-party/include/executorch/ExecuTorchTensor.h +0 -1461
- package/third-party/include/executorch/ExecuTorchValue.h +0 -265
- package/third-party/include/executorch/extension/data_loader/buffer_data_loader.h +0 -82
- package/third-party/include/executorch/extension/data_loader/file_data_loader.h +0 -103
- package/third-party/include/executorch/extension/data_loader/file_descriptor_data_loader.h +0 -103
- package/third-party/include/executorch/extension/data_loader/mman.h +0 -127
- package/third-party/include/executorch/extension/data_loader/mman_windows.h +0 -70
- package/third-party/include/executorch/extension/data_loader/mmap_data_loader.h +0 -135
- package/third-party/include/executorch/extension/data_loader/shared_ptr_data_loader.h +0 -67
- package/third-party/include/executorch/extension/kernel_util/make_boxed_from_unboxed_functor.h +0 -238
- package/third-party/include/executorch/extension/kernel_util/meta_programming.h +0 -108
- package/third-party/include/executorch/extension/kernel_util/type_list.h +0 -134
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/base64.h +0 -199
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/bpe_model.h +0 -106
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/bpe_tokenizer_base.h +0 -94
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/compiler.h +0 -22
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/error.h +0 -95
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/hf_tokenizer.h +0 -104
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/llama2c_tokenizer.h +0 -52
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/log.h +0 -303
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/map_utils.h +0 -217
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/model.h +0 -201
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/normalizer.h +0 -242
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/padding.h +0 -112
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/pcre2_regex.h +0 -54
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/post_processor.h +0 -259
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/pre_tokenizer.h +0 -263
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/re2_regex.h +0 -46
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/regex.h +0 -72
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/result.h +0 -256
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/sentencepiece.h +0 -57
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/std_regex.h +0 -44
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/string_integer_map.h +0 -630
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/tekken.h +0 -102
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/tiktoken.h +0 -137
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/token_decoder.h +0 -273
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/tokenizer.h +0 -107
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/truncation.h +0 -93
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/unicode-nfc-data.h +0 -4135
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/unicode-nfc.h +0 -48
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/unicode_utils.h +0 -38
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/unigram_model.h +0 -124
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/wordlevel_model.h +0 -103
- package/third-party/include/executorch/extension/llm/tokenizers/include/pytorch/tokenizers/wordpiece_model.h +0 -95
- package/third-party/include/executorch/extension/module/bundled_module.h +0 -131
- package/third-party/include/executorch/extension/module/module.h +0 -764
- package/third-party/include/executorch/extension/runner_util/inputs.h +0 -114
- package/third-party/include/executorch/extension/tensor/tensor.h +0 -14
- package/third-party/include/executorch/extension/tensor/tensor_accessor.h +0 -190
- package/third-party/include/executorch/extension/tensor/tensor_ptr.h +0 -457
- package/third-party/include/executorch/extension/tensor/tensor_ptr_maker.h +0 -653
- package/third-party/include/executorch/extension/threadpool/cpuinfo_utils.h +0 -24
- package/third-party/include/executorch/extension/threadpool/threadpool.h +0 -124
- package/third-party/include/executorch/extension/threadpool/threadpool_guard.h +0 -35
- package/third-party/include/executorch/kernels/optimized/Functions.h +0 -168
- package/third-party/include/executorch/kernels/optimized/NativeFunctions.h +0 -71
- package/third-party/include/executorch/kernels/portable/Functions.h +0 -1275
- package/third-party/include/executorch/kernels/portable/NativeFunctions.h +0 -439
- package/third-party/include/executorch/kernels/quantized/Functions.h +0 -144
- package/third-party/include/executorch/kernels/quantized/NativeFunctions.h +0 -63
- package/third-party/include/executorch/runtime/backend/backend_execution_context.h +0 -71
- package/third-party/include/executorch/runtime/backend/backend_init_context.h +0 -136
- package/third-party/include/executorch/runtime/backend/backend_option_context.h +0 -34
- package/third-party/include/executorch/runtime/backend/backend_options_map.h +0 -222
- package/third-party/include/executorch/runtime/backend/interface.h +0 -227
- package/third-party/include/executorch/runtime/backend/options.h +0 -206
- package/third-party/include/executorch/runtime/core/array_ref.h +0 -237
- package/third-party/include/executorch/runtime/core/data_loader.h +0 -136
- package/third-party/include/executorch/runtime/core/defines.h +0 -20
- package/third-party/include/executorch/runtime/core/error.h +0 -262
- package/third-party/include/executorch/runtime/core/evalue.h +0 -802
- package/third-party/include/executorch/runtime/core/event_tracer.h +0 -580
- package/third-party/include/executorch/runtime/core/event_tracer_hooks.h +0 -332
- package/third-party/include/executorch/runtime/core/event_tracer_hooks_delegate.h +0 -197
- package/third-party/include/executorch/runtime/core/exec_aten/exec_aten.h +0 -194
- package/third-party/include/executorch/runtime/core/exec_aten/testing_util/tensor_factory.h +0 -1069
- package/third-party/include/executorch/runtime/core/exec_aten/testing_util/tensor_util.h +0 -362
- package/third-party/include/executorch/runtime/core/exec_aten/util/dim_order_util.h +0 -275
- package/third-party/include/executorch/runtime/core/exec_aten/util/scalar_type_util.h +0 -1320
- package/third-party/include/executorch/runtime/core/exec_aten/util/tensor_dimension_limit.h +0 -21
- package/third-party/include/executorch/runtime/core/exec_aten/util/tensor_shape_to_c_string.h +0 -69
- package/third-party/include/executorch/runtime/core/exec_aten/util/tensor_util.h +0 -1255
- package/third-party/include/executorch/runtime/core/freeable_buffer.h +0 -203
- package/third-party/include/executorch/runtime/core/function_ref.h +0 -100
- package/third-party/include/executorch/runtime/core/hierarchical_allocator.h +0 -113
- package/third-party/include/executorch/runtime/core/memory_allocator.h +0 -217
- package/third-party/include/executorch/runtime/core/named_data_map.h +0 -76
- package/third-party/include/executorch/runtime/core/portable_type/bfloat16.h +0 -27
- package/third-party/include/executorch/runtime/core/portable_type/bfloat16_math.h +0 -14
- package/third-party/include/executorch/runtime/core/portable_type/bits_types.h +0 -83
- package/third-party/include/executorch/runtime/core/portable_type/complex.h +0 -21
- package/third-party/include/executorch/runtime/core/portable_type/device.h +0 -79
- package/third-party/include/executorch/runtime/core/portable_type/half.h +0 -27
- package/third-party/include/executorch/runtime/core/portable_type/optional.h +0 -36
- package/third-party/include/executorch/runtime/core/portable_type/qint_types.h +0 -83
- package/third-party/include/executorch/runtime/core/portable_type/scalar.h +0 -110
- package/third-party/include/executorch/runtime/core/portable_type/scalar_type.h +0 -154
- package/third-party/include/executorch/runtime/core/portable_type/string_view.h +0 -29
- package/third-party/include/executorch/runtime/core/portable_type/tensor.h +0 -142
- package/third-party/include/executorch/runtime/core/portable_type/tensor_impl.h +0 -311
- package/third-party/include/executorch/runtime/core/portable_type/tensor_options.h +0 -60
- package/third-party/include/executorch/runtime/core/result.h +0 -258
- package/third-party/include/executorch/runtime/core/span.h +0 -97
- package/third-party/include/executorch/runtime/core/tag.h +0 -90
- package/third-party/include/executorch/runtime/core/tensor_layout.h +0 -79
- package/third-party/include/executorch/runtime/core/tensor_shape_dynamism.h +0 -39
- package/third-party/include/executorch/runtime/core/testing_util/error_matchers.h +0 -292
- package/third-party/include/executorch/runtime/executor/memory_manager.h +0 -113
- package/third-party/include/executorch/runtime/executor/merged_data_map.h +0 -142
- package/third-party/include/executorch/runtime/executor/method.h +0 -440
- package/third-party/include/executorch/runtime/executor/method_meta.h +0 -312
- package/third-party/include/executorch/runtime/executor/platform_memory_allocator.h +0 -116
- package/third-party/include/executorch/runtime/executor/program.h +0 -320
- package/third-party/include/executorch/runtime/executor/pte_data_map.h +0 -145
- package/third-party/include/executorch/runtime/executor/tensor_parser.h +0 -161
- package/third-party/include/executorch/runtime/executor/test/managed_memory_manager.h +0 -64
- package/third-party/include/executorch/runtime/kernel/kernel_includes.h +0 -23
- package/third-party/include/executorch/runtime/kernel/kernel_runtime_context.h +0 -122
- package/third-party/include/executorch/runtime/kernel/operator_registry.h +0 -290
- package/third-party/include/executorch/runtime/kernel/test/test_util.h +0 -39
- package/third-party/include/executorch/runtime/kernel/thread_parallel_interface.h +0 -95
- package/third-party/include/executorch/runtime/platform/abort.h +0 -36
- package/third-party/include/executorch/runtime/platform/assert.h +0 -119
- package/third-party/include/executorch/runtime/platform/clock.h +0 -43
- package/third-party/include/executorch/runtime/platform/compat_unistd.h +0 -75
- package/third-party/include/executorch/runtime/platform/compiler.h +0 -214
- package/third-party/include/executorch/runtime/platform/log.h +0 -199
- package/third-party/include/executorch/runtime/platform/platform.h +0 -259
- package/third-party/include/executorch/runtime/platform/profiler.h +0 -290
- package/third-party/include/executorch/runtime/platform/runtime.h +0 -35
- package/third-party/include/executorch/runtime/platform/system.h +0 -49
- package/third-party/include/executorch/runtime/platform/test/pal_spy.h +0 -79
- package/third-party/include/executorch/runtime/platform/test/stub_platform.h +0 -65
- package/third-party/include/executorch/runtime/platform/types.h +0 -24
- package/third-party/include/executorch/schema/extended_header.h +0 -85
- package/third-party/include/headeronly/macros/Export.h +0 -88
- package/third-party/include/nlohmann/json.hpp +0 -24723
- package/third-party/include/opencv2/core/affine.hpp +0 -676
- package/third-party/include/opencv2/core/async.hpp +0 -107
- package/third-party/include/opencv2/core/base.hpp +0 -735
- package/third-party/include/opencv2/core/bindings_utils.hpp +0 -279
- package/third-party/include/opencv2/core/bufferpool.hpp +0 -39
- package/third-party/include/opencv2/core/check.hpp +0 -231
- package/third-party/include/opencv2/core/core.hpp +0 -55
- package/third-party/include/opencv2/core/core_c.h +0 -3261
- package/third-party/include/opencv2/core/cv_cpu_dispatch.h +0 -404
- package/third-party/include/opencv2/core/cv_cpu_helper.h +0 -856
- package/third-party/include/opencv2/core/cvdef.h +0 -1003
- package/third-party/include/opencv2/core/cvstd.hpp +0 -196
- package/third-party/include/opencv2/core/cvstd.inl.hpp +0 -188
- package/third-party/include/opencv2/core/cvstd_wrapper.hpp +0 -187
- package/third-party/include/opencv2/core/detail/async_promise.hpp +0 -73
- package/third-party/include/opencv2/core/detail/dispatch_helper.impl.hpp +0 -48
- package/third-party/include/opencv2/core/detail/exception_ptr.hpp +0 -24
- package/third-party/include/opencv2/core/dualquaternion.hpp +0 -1054
- package/third-party/include/opencv2/core/dualquaternion.inl.hpp +0 -464
- package/third-party/include/opencv2/core/eigen.hpp +0 -405
- package/third-party/include/opencv2/core/fast_math.hpp +0 -433
- package/third-party/include/opencv2/core/hal/hal.hpp +0 -451
- package/third-party/include/opencv2/core/hal/interface.h +0 -191
- package/third-party/include/opencv2/core/hal/intrin.hpp +0 -1222
- package/third-party/include/opencv2/core/hal/intrin_avx.hpp +0 -3378
- package/third-party/include/opencv2/core/hal/intrin_avx512.hpp +0 -3688
- package/third-party/include/opencv2/core/hal/intrin_cpp.hpp +0 -3446
- package/third-party/include/opencv2/core/hal/intrin_forward.hpp +0 -195
- package/third-party/include/opencv2/core/hal/intrin_lasx.hpp +0 -3243
- package/third-party/include/opencv2/core/hal/intrin_lsx.hpp +0 -2671
- package/third-party/include/opencv2/core/hal/intrin_math.hpp +0 -772
- package/third-party/include/opencv2/core/hal/intrin_msa.hpp +0 -1973
- package/third-party/include/opencv2/core/hal/intrin_neon.hpp +0 -2710
- package/third-party/include/opencv2/core/hal/intrin_rvv071.hpp +0 -3452
- package/third-party/include/opencv2/core/hal/intrin_rvv_scalable.hpp +0 -2559
- package/third-party/include/opencv2/core/hal/intrin_sse.hpp +0 -3528
- package/third-party/include/opencv2/core/hal/intrin_sse_em.hpp +0 -175
- package/third-party/include/opencv2/core/hal/intrin_vsx.hpp +0 -1756
- package/third-party/include/opencv2/core/hal/intrin_wasm.hpp +0 -2911
- package/third-party/include/opencv2/core/hal/msa_macros.h +0 -2079
- package/third-party/include/opencv2/core/hal/simd_utils.impl.hpp +0 -313
- package/third-party/include/opencv2/core/mat.hpp +0 -3842
- package/third-party/include/opencv2/core/mat.inl.hpp +0 -2753
- package/third-party/include/opencv2/core/matx.hpp +0 -603
- package/third-party/include/opencv2/core/matx.inl.hpp +0 -1132
- package/third-party/include/opencv2/core/neon_utils.hpp +0 -127
- package/third-party/include/opencv2/core/operations.hpp +0 -610
- package/third-party/include/opencv2/core/optim.hpp +0 -362
- package/third-party/include/opencv2/core/parallel/backend/parallel_for.openmp.hpp +0 -66
- package/third-party/include/opencv2/core/parallel/backend/parallel_for.tbb.hpp +0 -148
- package/third-party/include/opencv2/core/parallel/parallel_backend.hpp +0 -108
- package/third-party/include/opencv2/core/persistence.hpp +0 -1321
- package/third-party/include/opencv2/core/quaternion.hpp +0 -1889
- package/third-party/include/opencv2/core/quaternion.inl.hpp +0 -907
- package/third-party/include/opencv2/core/saturate.hpp +0 -347
- package/third-party/include/opencv2/core/simd_intrinsics.hpp +0 -90
- package/third-party/include/opencv2/core/softfloat.hpp +0 -657
- package/third-party/include/opencv2/core/sse_utils.hpp +0 -861
- package/third-party/include/opencv2/core/traits.hpp +0 -417
- package/third-party/include/opencv2/core/types.hpp +0 -2368
- package/third-party/include/opencv2/core/types_c.h +0 -2064
- package/third-party/include/opencv2/core/utility.hpp +0 -1296
- package/third-party/include/opencv2/core/utils/allocator_stats.hpp +0 -31
- package/third-party/include/opencv2/core/utils/allocator_stats.impl.hpp +0 -111
- package/third-party/include/opencv2/core/utils/filesystem.hpp +0 -91
- package/third-party/include/opencv2/core/utils/fp_control_utils.hpp +0 -70
- package/third-party/include/opencv2/core/utils/instrumentation.hpp +0 -127
- package/third-party/include/opencv2/core/utils/logger.defines.hpp +0 -50
- package/third-party/include/opencv2/core/utils/logger.hpp +0 -258
- package/third-party/include/opencv2/core/utils/logtag.hpp +0 -27
- package/third-party/include/opencv2/core/utils/tls.hpp +0 -230
- package/third-party/include/opencv2/core/utils/trace.hpp +0 -281
- package/third-party/include/opencv2/core/version.hpp +0 -29
- package/third-party/include/opencv2/core/vsx_utils.hpp +0 -1115
- package/third-party/include/opencv2/core.hpp +0 -3699
- package/third-party/include/opencv2/cvconfig.h +0 -155
- package/third-party/include/opencv2/dnn/dnn.hpp +0 -51
- package/third-party/include/opencv2/dnn.hpp +0 -17
- package/third-party/include/opencv2/features2d/features2d.hpp +0 -55
- package/third-party/include/opencv2/features2d/hal/interface.h +0 -32
- package/third-party/include/opencv2/features2d.hpp +0 -1756
- package/third-party/include/opencv2/highgui/highgui.hpp +0 -113
- package/third-party/include/opencv2/highgui.hpp +0 -17
- package/third-party/include/opencv2/imgproc/bindings.hpp +0 -34
- package/third-party/include/opencv2/imgproc/detail/gcgraph.hpp +0 -355
- package/third-party/include/opencv2/imgproc/detail/legacy.hpp +0 -35
- package/third-party/include/opencv2/imgproc/hal/hal.hpp +0 -246
- package/third-party/include/opencv2/imgproc/hal/interface.h +0 -52
- package/third-party/include/opencv2/imgproc/imgproc.hpp +0 -55
- package/third-party/include/opencv2/imgproc/imgproc_c.h +0 -1261
- package/third-party/include/opencv2/imgproc/segmentation.hpp +0 -168
- package/third-party/include/opencv2/imgproc/types_c.h +0 -632
- package/third-party/include/opencv2/imgproc.hpp +0 -5956
- package/third-party/include/opencv2/opencv.hpp +0 -102
- package/third-party/include/opencv2/opencv_modules.hpp +0 -19
- package/third-party/include/opencv2/photo/legacy/constants_c.h +0 -10
- package/third-party/include/opencv2/photo/photo.hpp +0 -55
- package/third-party/include/opencv2/photo.hpp +0 -975
- package/third-party/include/opencv2/video/background_segm.hpp +0 -341
- package/third-party/include/opencv2/video/detail/tracking.detail.hpp +0 -435
- package/third-party/include/opencv2/video/legacy/constants_c.h +0 -15
- package/third-party/include/opencv2/video/tracking.hpp +0 -1014
- package/third-party/include/opencv2/video/video.hpp +0 -55
- package/third-party/include/opencv2/video.hpp +0 -65
- package/third-party/include/pthreadpool/pthreadpool.h +0 -3350
- package/third-party/include/re2/filtered_re2.h +0 -112
- package/third-party/include/re2/re2.h +0 -1041
- package/third-party/include/re2/set.h +0 -86
- package/third-party/include/re2/stringpiece.h +0 -18
- package/third-party/include/torch/headeronly/macros/Export.h +0 -153
- package/third-party/include/torch/headeronly/macros/Macros.h +0 -659
- package/third-party/include/torch/headeronly/util/BFloat16.h +0 -478
- package/third-party/include/torch/headeronly/util/Half.h +0 -782
- package/third-party/include/torch/headeronly/util/TypeSafeSignMath.h +0 -141
- package/third-party/include/torch/headeronly/util/bit_cast.h +0 -49
- package/third-party/include/torch/headeronly/util/complex.h +0 -593
- package/third-party/include/torch/headeronly/util/floating_point_utils.h +0 -38
- package/third-party/ios/ExecutorchLib.xcframework/Info.plist +0 -43
- package/third-party/ios/ExecutorchLib.xcframework/ios-arm64/ExecutorchLib.framework/ExecutorchLib +0 -0
- package/third-party/ios/ExecutorchLib.xcframework/ios-arm64/ExecutorchLib.framework/Info.plist +0 -0
- package/third-party/ios/ExecutorchLib.xcframework/ios-arm64/ExecutorchLib.framework/mlx.metallib +0 -0
- package/third-party/ios/ExecutorchLib.xcframework/ios-arm64-simulator/ExecutorchLib.framework/ExecutorchLib +0 -0
- package/third-party/ios/ExecutorchLib.xcframework/ios-arm64-simulator/ExecutorchLib.framework/Info.plist +0 -0
- package/third-party/ios/ExecutorchLib.xcframework/ios-arm64-simulator/ExecutorchLib.framework/mlx.metallib +0 -0
- package/third-party/ios/libs/cpuinfo/libcpuinfo.a +0 -0
- package/third-party/ios/libs/pthreadpool/physical-arm64-release/libpthreadpool.a +0 -0
- package/third-party/ios/libs/pthreadpool/simulator-arm64-debug/libpthreadpool.a +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/data_processing/ImageProcessing.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/data_processing/Numerical.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/data_processing/dsp.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/data_processing/gzip.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/models/ocr/Constants.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/models/ocr/utils/DetectorUtils.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/models/ocr/utils/RecognitionHandlerUtils.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/models/ocr/utils/RecognizerUtils.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/models/pose_estimation/Types.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/models/speech_to_text/whisper/Params.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/models/text_to_image/Constants.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/models/voice_activity_detection/Constants.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/models/voice_activity_detection/Utils.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/utils/FrameExtractor.h +0 -0
- /package/{common → legacy/cpp}/rnexecutorch/utils/FrameProcessor.h +0 -0
- /package/{ios/RnExecutorch → legacy/ios}/ETInstaller.h +0 -0
- /package/{src → legacy/src}/common/Logger.ts +0 -0
- /package/{src → legacy/src}/constants/classification.ts +0 -0
- /package/{src → legacy/src}/constants/commonVision.ts +0 -0
- /package/{src → legacy/src}/constants/ocr/symbols.ts +0 -0
- /package/{src → legacy/src}/constants/poseEstimation.ts +0 -0
- /package/{src → legacy/src}/controllers/VerticalOCRController.ts +0 -0
- /package/{src → legacy/src}/errors/ErrorCodes.ts +0 -0
- /package/{src → legacy/src}/types/classification.ts +0 -0
- /package/{src → legacy/src}/types/common.ts +0 -0
- /package/{src → legacy/src}/types/executorchModule.ts +0 -0
- /package/{src → legacy/src}/types/genericImageSegmentation.ts +0 -0
- /package/{src → legacy/src}/types/imageEmbeddings.ts +0 -0
- /package/{src → legacy/src}/types/objectDetection.ts +0 -0
- /package/{src → legacy/src}/types/ocr.ts +0 -0
- /package/{src → legacy/src}/types/privacyFilter.ts +0 -0
- /package/{src → legacy/src}/types/styleTransfer.ts +0 -0
- /package/{src → legacy/src}/types/vad.ts +0 -0
- /package/{src → legacy/src}/utils/commonVision.ts +0 -0
- /package/{src → legacy/src}/utils/llms/context_strategy/MessageCountContextStrategy.ts +0 -0
- /package/{src → legacy/src}/utils/llms/context_strategy/NoopContextStrategy.ts +0 -0
- /package/{src → legacy/src}/utils/llms/context_strategy/index.ts +0 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Software Mansion
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
===============================================================================
|
|
25
|
+
THIRD-PARTY COMPONENTS
|
|
26
|
+
===============================================================================
|
|
27
|
+
|
|
28
|
+
This software bundles or links the components below. Each is distributed under
|
|
29
|
+
its own license, reproduced in full further down this file.
|
|
30
|
+
|
|
31
|
+
ExecuTorch BSD 3-Clause native runtime and hardware backends
|
|
32
|
+
pffft / FFTPACK BSD 3-Clause legacy/cpp/pfft, audio FFT
|
|
33
|
+
OpenCV Apache-2.0 vision pipelines and multimodal LLMs
|
|
34
|
+
KleidiCV Apache-2.0 OpenCV Arm HAL, Android only
|
|
35
|
+
ada MIT legacy/cpp/ada, URL parsing
|
|
36
|
+
phonemis MIT grapheme-to-phoneme for text-to-speech
|
|
37
|
+
MLX MIT MLX backend, iOS only
|
|
38
|
+
|
|
39
|
+
Which of these end up in an application binary depends on the backends and
|
|
40
|
+
libraries it enables; see the Native Libraries documentation. ExecuTorch in
|
|
41
|
+
turn bundles further components, among them XNNPACK, pthreadpool, cpuinfo,
|
|
42
|
+
the tokenizers library and PCRE2, each under its own permissive license and
|
|
43
|
+
covered by the notices shipped with the ExecuTorch distribution.
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
===============================================================================
|
|
47
|
+
ExecuTorch, BSD 3-Clause
|
|
48
|
+
===============================================================================
|
|
49
|
+
|
|
50
|
+
BSD License
|
|
51
|
+
|
|
52
|
+
For "ExecuTorch" software
|
|
53
|
+
|
|
54
|
+
Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
55
|
+
Copyright 2023 Arm Limited and/or its affiliates.
|
|
56
|
+
Copyright (c) Qualcomm Innovation Center, Inc.
|
|
57
|
+
Copyright (c) 2023 Apple Inc.
|
|
58
|
+
Copyright (c) 2024 MediaTek Inc.
|
|
59
|
+
Copyright 2023 NXP
|
|
60
|
+
|
|
61
|
+
Redistribution and use in source and binary forms, with or without modification,
|
|
62
|
+
are permitted provided that the following conditions are met:
|
|
63
|
+
|
|
64
|
+
* Redistributions of source code must retain the above copyright notice, this
|
|
65
|
+
list of conditions and the following disclaimer.
|
|
66
|
+
|
|
67
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
|
68
|
+
this list of conditions and the following disclaimer in the documentation
|
|
69
|
+
and/or other materials provided with the distribution.
|
|
70
|
+
|
|
71
|
+
* Neither the name Meta nor the names of its contributors may be used to
|
|
72
|
+
endorse or promote products derived from this software without specific
|
|
73
|
+
prior written permission.
|
|
74
|
+
|
|
75
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
|
76
|
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
|
77
|
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
78
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR
|
|
79
|
+
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
|
80
|
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
|
|
81
|
+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
|
|
82
|
+
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
|
83
|
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
|
84
|
+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
===============================================================================
|
|
88
|
+
pffft and FFTPACK, BSD 3-Clause
|
|
89
|
+
===============================================================================
|
|
90
|
+
|
|
91
|
+
Copyright (c) 2013 Julien Pommier ( pommier@modartt.com )
|
|
92
|
+
|
|
93
|
+
Based on original fortran 77 code from FFTPACKv4 from NETLIB,
|
|
94
|
+
authored by Dr Paul Swarztrauber of NCAR, in 1985.
|
|
95
|
+
|
|
96
|
+
As confirmed by the NCAR fftpack software curators, the following
|
|
97
|
+
FFTPACKv5 license applies to FFTPACKv4 sources. My changes are
|
|
98
|
+
released under the same terms.
|
|
99
|
+
|
|
100
|
+
FFTPACK license:
|
|
101
|
+
|
|
102
|
+
http://www.cisl.ucar.edu/css/software/fftpack5/ftpk.html
|
|
103
|
+
|
|
104
|
+
Copyright (c) 2004 the University Corporation for Atmospheric
|
|
105
|
+
Research ("UCAR"). All rights reserved. Developed by NCAR's
|
|
106
|
+
Computational and Information Systems Laboratory, UCAR,
|
|
107
|
+
www.cisl.ucar.edu.
|
|
108
|
+
|
|
109
|
+
Redistribution and use of the Software in source and binary forms,
|
|
110
|
+
with or without modification, is permitted provided that the
|
|
111
|
+
following conditions are met:
|
|
112
|
+
|
|
113
|
+
- Neither the names of NCAR's Computational and Information Systems
|
|
114
|
+
Laboratory, the University Corporation for Atmospheric Research,
|
|
115
|
+
nor the names of its sponsors or contributors may be used to
|
|
116
|
+
endorse or promote products derived from this Software without
|
|
117
|
+
specific prior written permission.
|
|
118
|
+
|
|
119
|
+
- Redistributions of source code must retain the above copyright
|
|
120
|
+
notices, this list of conditions, and the disclaimer below.
|
|
121
|
+
|
|
122
|
+
- Redistributions in binary form must reproduce the above copyright
|
|
123
|
+
notice, this list of conditions, and the disclaimer below in the
|
|
124
|
+
documentation and/or other materials provided with the
|
|
125
|
+
distribution.
|
|
126
|
+
|
|
127
|
+
THIS SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
128
|
+
EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO THE WARRANTIES OF
|
|
129
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
130
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
|
|
131
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, INDIRECT, INCIDENTAL, SPECIAL,
|
|
132
|
+
EXEMPLARY, OR CONSEQUENTIAL DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
|
133
|
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
|
134
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
|
135
|
+
SOFTWARE.
|
|
136
|
+
|
|
137
|
+
|
|
138
|
+
===============================================================================
|
|
139
|
+
phonemis, MIT
|
|
140
|
+
===============================================================================
|
|
141
|
+
|
|
142
|
+
Copyright (c) 2026 IgorSwat
|
|
143
|
+
|
|
144
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
145
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
146
|
+
in the Software without restriction, including without limitation the rights
|
|
147
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
148
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
149
|
+
furnished to do so, subject to the following conditions:
|
|
150
|
+
|
|
151
|
+
The above copyright notice and this permission notice shall be included in all
|
|
152
|
+
copies or substantial portions of the Software.
|
|
153
|
+
|
|
154
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
155
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
156
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
157
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
158
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
159
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
160
|
+
SOFTWARE.
|
|
161
|
+
|
|
162
|
+
|
|
163
|
+
===============================================================================
|
|
164
|
+
MLX, MIT
|
|
165
|
+
===============================================================================
|
|
166
|
+
|
|
167
|
+
Copyright (c) 2023 Apple Inc.
|
|
168
|
+
|
|
169
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
170
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
171
|
+
in the Software without restriction, including without limitation the rights
|
|
172
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
173
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
174
|
+
furnished to do so, subject to the following conditions:
|
|
175
|
+
|
|
176
|
+
The above copyright notice and this permission notice shall be included in all
|
|
177
|
+
copies or substantial portions of the Software.
|
|
178
|
+
|
|
179
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
180
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
181
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
182
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
183
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
184
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
185
|
+
SOFTWARE.
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
===============================================================================
|
|
189
|
+
ada, MIT
|
|
190
|
+
===============================================================================
|
|
191
|
+
|
|
192
|
+
Copyright 2023 Yagiz Nizipli and Daniel Lemire
|
|
193
|
+
|
|
194
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
195
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
196
|
+
in the Software without restriction, including without limitation the rights
|
|
197
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
198
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
199
|
+
furnished to do so, subject to the following conditions:
|
|
200
|
+
|
|
201
|
+
The above copyright notice and this permission notice shall be included in all
|
|
202
|
+
copies or substantial portions of the Software.
|
|
203
|
+
|
|
204
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
205
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
206
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
207
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
208
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
209
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
210
|
+
SOFTWARE.
|
|
211
|
+
|
|
212
|
+
|
|
213
|
+
===============================================================================
|
|
214
|
+
OpenCV and KleidiCV, Apache License 2.0
|
|
215
|
+
===============================================================================
|
|
216
|
+
|
|
217
|
+
OpenCV is distributed under the Apache License 2.0 with no separate copyright
|
|
218
|
+
notice of its own. KleidiCV, which OpenCV uses as its Arm HAL on Android,
|
|
219
|
+
carries:
|
|
220
|
+
|
|
221
|
+
Copyright 2023 - 2026 Arm Limited and/or its affiliates
|
|
222
|
+
<open-source-office@arm.com>
|
|
223
|
+
SPDX-License-Identifier: Apache-2.0
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
Apache License
|
|
227
|
+
Version 2.0, January 2004
|
|
228
|
+
http://www.apache.org/licenses/
|
|
229
|
+
|
|
230
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
231
|
+
|
|
232
|
+
1. Definitions.
|
|
233
|
+
|
|
234
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
235
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
236
|
+
|
|
237
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
238
|
+
the copyright owner that is granting the License.
|
|
239
|
+
|
|
240
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
241
|
+
other entities that control, are controlled by, or are under common
|
|
242
|
+
control with that entity. For the purposes of this definition,
|
|
243
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
244
|
+
direction or management of such entity, whether by contract or
|
|
245
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
246
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
247
|
+
|
|
248
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
249
|
+
exercising permissions granted by this License.
|
|
250
|
+
|
|
251
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
252
|
+
including but not limited to software source code, documentation
|
|
253
|
+
source, and configuration files.
|
|
254
|
+
|
|
255
|
+
"Object" form shall mean any form resulting from mechanical
|
|
256
|
+
transformation or translation of a Source form, including but
|
|
257
|
+
not limited to compiled object code, generated documentation,
|
|
258
|
+
and conversions to other media types.
|
|
259
|
+
|
|
260
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
261
|
+
Object form, made available under the License, as indicated by a
|
|
262
|
+
copyright notice that is included in or attached to the work
|
|
263
|
+
(an example is provided in the Appendix below).
|
|
264
|
+
|
|
265
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
266
|
+
form, that is based on (or derived from) the Work and for which the
|
|
267
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
268
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
269
|
+
of this License, Derivative Works shall not include works that remain
|
|
270
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
271
|
+
the Work and Derivative Works thereof.
|
|
272
|
+
|
|
273
|
+
"Contribution" shall mean any work of authorship, including
|
|
274
|
+
the original version of the Work and any modifications or additions
|
|
275
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
276
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
277
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
278
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
279
|
+
means any form of electronic, verbal, or written communication sent
|
|
280
|
+
to the Licensor or its representatives, including but not limited to
|
|
281
|
+
communication on electronic mailing lists, source code control systems,
|
|
282
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
283
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
284
|
+
excluding communication that is conspicuously marked or otherwise
|
|
285
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
286
|
+
|
|
287
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
288
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
289
|
+
subsequently incorporated within the Work.
|
|
290
|
+
|
|
291
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
292
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
293
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
294
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
295
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
296
|
+
Work and such Derivative Works in Source or Object form.
|
|
297
|
+
|
|
298
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
299
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
300
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
301
|
+
(except as stated in this section) patent license to make, have made,
|
|
302
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
303
|
+
where such license applies only to those patent claims licensable
|
|
304
|
+
by such Contributor that are necessarily infringed by their
|
|
305
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
306
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
307
|
+
institute patent litigation against any entity (including a
|
|
308
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
309
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
310
|
+
or contributory patent infringement, then any patent licenses
|
|
311
|
+
granted to You under this License for that Work shall terminate
|
|
312
|
+
as of the date such litigation is filed.
|
|
313
|
+
|
|
314
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
315
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
316
|
+
modifications, and in Source or Object form, provided that You
|
|
317
|
+
meet the following conditions:
|
|
318
|
+
|
|
319
|
+
(a) You must give any other recipients of the Work or
|
|
320
|
+
Derivative Works a copy of this License; and
|
|
321
|
+
|
|
322
|
+
(b) You must cause any modified files to carry prominent notices
|
|
323
|
+
stating that You changed the files; and
|
|
324
|
+
|
|
325
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
326
|
+
that You distribute, all copyright, patent, trademark, and
|
|
327
|
+
attribution notices from the Source form of the Work,
|
|
328
|
+
excluding those notices that do not pertain to any part of
|
|
329
|
+
the Derivative Works; and
|
|
330
|
+
|
|
331
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
332
|
+
distribution, then any Derivative Works that You distribute must
|
|
333
|
+
include a readable copy of the attribution notices contained
|
|
334
|
+
within such NOTICE file, excluding those notices that do not
|
|
335
|
+
pertain to any part of the Derivative Works, in at least one
|
|
336
|
+
of the following places: within a NOTICE text file distributed
|
|
337
|
+
as part of the Derivative Works; within the Source form or
|
|
338
|
+
documentation, if provided along with the Derivative Works; or,
|
|
339
|
+
within a display generated by the Derivative Works, if and
|
|
340
|
+
wherever such third-party notices normally appear. The contents
|
|
341
|
+
of the NOTICE file are for informational purposes only and
|
|
342
|
+
do not modify the License. You may add Your own attribution
|
|
343
|
+
notices within Derivative Works that You distribute, alongside
|
|
344
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
345
|
+
that such additional attribution notices cannot be construed
|
|
346
|
+
as modifying the License.
|
|
347
|
+
|
|
348
|
+
You may add Your own copyright statement to Your modifications and
|
|
349
|
+
may provide additional or different license terms and conditions
|
|
350
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
351
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
352
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
353
|
+
the conditions stated in this License.
|
|
354
|
+
|
|
355
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
356
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
357
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
358
|
+
this License, without any additional terms or conditions.
|
|
359
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
360
|
+
the terms of any separate license agreement you may have executed
|
|
361
|
+
with Licensor regarding such Contributions.
|
|
362
|
+
|
|
363
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
364
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
365
|
+
except as required for reasonable and customary use in describing the
|
|
366
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
367
|
+
|
|
368
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
369
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
370
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
371
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
372
|
+
implied, including, without limitation, any warranties or conditions
|
|
373
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
374
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
375
|
+
appropriateness of using or redistributing the Work and assume any
|
|
376
|
+
risks associated with Your exercise of permissions under this License.
|
|
377
|
+
|
|
378
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
379
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
380
|
+
unless required by applicable law (such as deliberate and grossly
|
|
381
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
382
|
+
liable to You for damages, including any direct, indirect, special,
|
|
383
|
+
incidental, or consequential damages of any character arising as a
|
|
384
|
+
result of this License or out of the use or inability to use the
|
|
385
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
386
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
387
|
+
other commercial damages or losses), even if such Contributor
|
|
388
|
+
has been advised of the possibility of such damages.
|
|
389
|
+
|
|
390
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
391
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
392
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
393
|
+
or other liability obligations and/or rights consistent with this
|
|
394
|
+
License. However, in accepting such obligations, You may act only
|
|
395
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
396
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
397
|
+
defend, and hold each Contributor harmless for any liability
|
|
398
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
399
|
+
of your accepting any such warranty or additional liability.
|
|
400
|
+
|
|
401
|
+
END OF TERMS AND CONDITIONS
|
|
402
|
+
|
|
403
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
404
|
+
|
|
405
|
+
To apply the Apache License to your work, attach the following
|
|
406
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
407
|
+
replaced with your own identifying information. (Don't include
|
|
408
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
409
|
+
comment syntax for the file format. We also recommend that a
|
|
410
|
+
file or class name and description of purpose be included on the
|
|
411
|
+
same "printed page" as the copyright notice for easier
|
|
412
|
+
identification within third-party archives.
|
|
413
|
+
|
|
414
|
+
Copyright [yyyy] [name of copyright owner]
|
|
415
|
+
|
|
416
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
417
|
+
you may not use this file except in compliance with the License.
|
|
418
|
+
You may obtain a copy of the License at
|
|
419
|
+
|
|
420
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
421
|
+
|
|
422
|
+
Unless required by applicable law or agreed to in writing, software
|
|
423
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
424
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
425
|
+
See the License for the specific language governing permissions and
|
|
426
|
+
limitations under the License.
|