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
## Description
<!-- Provide a concise and descriptive summary of the changes
implemented in this PR. -->
### Type of change
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] Documentation update (improves or adds clarity to existing
documentation)
### Tested on
- [ ] iOS
- [ ] Android
### Testing instructions
<!-- Provide step-by-step instructions on how to test your changes.
Include setup details if necessary. -->
### Screenshots
<!-- Add screenshots here, if applicable -->
### Related issues
<!-- Link related issues here using #issue-number -->
### Checklist
- [ ] I have performed a self-review of my code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have updated the documentation accordingly
- [ ] My changes generate no new warnings
### Additional notes
<!-- Include any additional information, assumptions, or context that
reviewers might need to understand this PR. -->
|`error`| <code>string | null</code> | Contains the error message if the model failed to load. |
35
35
|`isGenerating`|`boolean`| Indicates whether the model is currently processing an inference. |
36
36
|`isReady`|`boolean`| Indicates whether the model has successfully loaded and is ready for inference. |
37
-
|`loadMethod`|`(methodName: string) => Promise<void>`| Loads resources specific to `methodName` into memory before execution. |
38
-
|`loadForward`|`() => Promise<void>`| Loads resources specific to `forward` method into memory before execution. Uses `loadMethod` under the hood. |
39
-
|`forward`|`(input: ETInput, shape: number[]) => Promise<number[][]>`| Executes the model's forward pass, where `input` is a Javascript typed array and `shape` is an array of integers representing input Tensor shape. The output is a Tensor - raw result of inference. |
37
+
|`loadMethod`|`(methodName: string) => Promise<void>`| Loads resources specific to `methodName` into memory before execution. |
38
+
|`loadForward`|`() => Promise<void>`| Loads resources specific to `forward` method into memory before execution. Uses `loadMethod` under the hood. |
39
+
|`forward`|`(input: ETInput, shape: number[]) => Promise<number[][]>`| Executes the model's forward pass, where `input` is a Javascript typed array and `shape` is an array of integers representing input Tensor shape. The output is a Tensor - raw result of inference. |
40
40
41
41
### ETInput
42
42
@@ -58,7 +58,7 @@ To run model with ExecuTorch Bindings it's essential to specify the shape of the
58
58
59
59
## End to end example
60
60
61
-
This example demonstrates the integration and usage of the ExecuTorch bindings with a [style transfer model](../computer-vision/useStyleTransfer.md). Specifically, we'll be using the `STYLE_TRANSFER_CANDY` model, which applies artistic style transfer to an input image.
61
+
This example demonstrates the integration and usage of the ExecuTorch bindings with a [style transfer model](../computer-vision/useStyleTransfer.mdx). Specifically, we'll be using the `STYLE_TRANSFER_CANDY` model, which applies artistic style transfer to an input image.
0 commit comments