You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Defined in: [modules/computer_vision/ClassificationModule.ts:21](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/computer_vision/ClassificationModule.ts#L21)
Defined in: [modules/general/ExecutorchModule.ts:22](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/general/ExecutorchModule.ts#L22)
230
230
@@ -239,7 +239,7 @@ Optionally accepts a download progress callback.
Defined in: [modules/computer_vision/ImageEmbeddingsModule.ts:20](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/computer_vision/ImageEmbeddingsModule.ts#L20)
Defined in: [modules/natural_language_processing/LLMModule.ts:20](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/natural_language_processing/LLMModule.ts#L20)
14
14
15
15
Creates a new instance of `LLMModule` with optional callbacks.
16
16
17
17
#### Parameters
18
18
19
-
##### optionalCallbacks?
19
+
##### optionalCallbacks
20
20
21
21
Object containing optional callbacks.
22
22
@@ -227,7 +227,7 @@ Interrupts model generation. It may return one more token after interrupt.
Defined in: [modules/natural_language_processing/LLMModule.ts:49](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/natural_language_processing/LLMModule.ts#L49)
Defined in: [utils/llms/context_strategy/MessageCountContextStrategy.ts:14](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/utils/llms/context_strategy/MessageCountContextStrategy.ts#L14)
19
19
@@ -23,7 +23,7 @@ Initializes the MessageCountContextStrategy.
Defined in: [modules/computer_vision/OCRModule.ts:27](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/computer_vision/OCRModule.ts#L27)
65
65
@@ -85,7 +85,7 @@ Object containing `detectorSource`, `recognizerSource`, and `language`.
Defined in: [modules/computer_vision/ObjectDetectionModule.ts:46](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/computer_vision/ObjectDetectionModule.ts#L46)
Defined in: [modules/computer_vision/ObjectDetectionModule.ts:22](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/computer_vision/ObjectDetectionModule.ts#L22)
Defined in: [utils/ResourceFetcher.ts:105](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/utils/ResourceFetcher.ts#L105)
64
64
65
65
Fetches resources (remote URLs, local files or embedded assets), downloads or stores them locally for use by React Native ExecuTorch.
Defined in: [modules/computer_vision/SemanticSegmentationModule.ts:176](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/computer_vision/SemanticSegmentationModule.ts#L176)
137
137
@@ -151,13 +151,13 @@ Executes the model's forward pass to perform semantic segmentation on the provid
151
151
152
152
A string representing the image source (e.g., a file path, URI, or Base64-encoded string).
153
153
154
-
##### classesOfInterest?
154
+
##### classesOfInterest
155
155
156
156
`K`[] = `[]`
157
157
158
158
An optional list of label keys indicating which per-class probability masks to include in the output. `ARGMAX` is always returned regardless.
159
159
160
-
##### resizeToInput?
160
+
##### resizeToInput
161
161
162
162
`boolean` = `true`
163
163
@@ -260,7 +260,7 @@ Load the model and prepare it for inference.
Defined in: [modules/computer_vision/SemanticSegmentationModule.ts:142](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/computer_vision/SemanticSegmentationModule.ts#L142)
266
266
@@ -287,7 +287,7 @@ A fetchable resource pointing to the model binary.
287
287
288
288
A [SemanticSegmentationConfig](../type-aliases/SemanticSegmentationConfig.md) object with the label map and optional preprocessing parameters.
Defined in: [modules/computer_vision/SemanticSegmentationModule.ts:95](https://github.com/software-mansion/react-native-executorch/blob/main/packages/react-native-executorch/src/modules/computer_vision/SemanticSegmentationModule.ts#L95)
319
319
@@ -334,7 +334,7 @@ The config object is discriminated by `modelName` — each model can require dif
334
334
335
335
A [SemanticSegmentationModelSources](../type-aliases/SemanticSegmentationModelSources.md) object specifying which model to load and where to fetch it from.
0 commit comments