Skip to content

Commit 9bc7892

Browse files
committed
chore: 🤖 release v0.0.1
1 parent e4392b3 commit 9bc7892

File tree

7 files changed

+30
-18
lines changed

7 files changed

+30
-18
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Changelog
2+
3+
## 0.0.1 (2025-05-14)
4+
5+
### Tasks
6+
7+
* 🤖 bump putout from 40.1.8 to 40.1.9 in the minor-and-patch group ([259b0f2](https://github.com/phun-ky/wrapture/commit/259b0f28011274b097c7c534ec491437d51bf806))
8+
* 🤖 First code release ([63a78ae](https://github.com/phun-ky/wrapture/commit/63a78aefc3260e9d30918b90c1c460db53279310))

api/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# wrapture API documentation
22

3-
> Last updated 2025-05-14T12:43:13.217Z
3+
> Last updated 2025-05-14T13:01:48.933Z
44
55
## Modules
66

api/utils/convert.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,23 @@
22

33
# utils/convert
44

5-
> Last updated 2025-05-14T12:43:13.319Z
5+
> Last updated 2025-05-14T13:01:49.077Z
66
77
## Interfaces
88

99
### ConvertOptionsInterface
1010

11-
Defined in: utils/convert.ts:17
11+
Defined in:
12+
[utils/convert.ts:17](https://github.com/phun-ky/wrapture/blob/main/src/utils/convert.ts#L17)
1213

1314
Options for the [convert](#convert) function.
1415

1516
#### Properties
1617

17-
| Property | Type | Description | Defined in |
18-
| --------------------------------- | --------- | --------------------------------------------------------------------------------------------- | ------------------- |
19-
| <a id="format"></a> `format?` | `string` | The output format for the converted model (e.g., 'onnx'). Defaults to 'onnx' if not provided. | utils/convert.ts:22 |
20-
| <a id="quantize"></a> `quantize?` | `boolean` | Whether to apply quantization to the model. | utils/convert.ts:27 |
18+
| Property | Type | Description | Defined in |
19+
| --------------------------------- | --------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- |
20+
| <a id="format"></a> `format?` | `string` | The output format for the converted model (e.g., 'onnx'). Defaults to 'onnx' if not provided. | [utils/convert.ts:22](https://github.com/phun-ky/wrapture/blob/main/src/utils/convert.ts#L22) |
21+
| <a id="quantize"></a> `quantize?` | `boolean` | Whether to apply quantization to the model. | [utils/convert.ts:27](https://github.com/phun-ky/wrapture/blob/main/src/utils/convert.ts#L27) |
2122

2223
## Functions
2324

@@ -27,7 +28,8 @@ Options for the [convert](#convert) function.
2728
function convert(inputPath, outputDir, opts): Promise<void>;
2829
```
2930

30-
Defined in: utils/convert.ts:54
31+
Defined in:
32+
[utils/convert.ts:54](https://github.com/phun-ky/wrapture/blob/main/src/utils/convert.ts#L54)
3133

3234
Converts a machine learning model to ONNX or another supported format by
3335
delegating to a Python script (`convert.py`).

api/utils/generate-wrapper.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,22 @@
22

33
# utils/generate-wrapper
44

5-
> Last updated 2025-05-14T12:43:13.388Z
5+
> Last updated 2025-05-14T13:01:49.182Z
66
77
## Interfaces
88

99
### GenerateWrapperOptionsInterface
1010

11-
Defined in: utils/generate-wrapper.ts:9
11+
Defined in:
12+
[utils/generate-wrapper.ts:9](https://github.com/phun-ky/wrapture/blob/main/src/utils/generate-wrapper.ts#L9)
1213

1314
Options for generating ONNX wrapper files.
1415

1516
#### Properties
1617

17-
| Property | Type | Description | Defined in |
18-
| ------------------------------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------- |
19-
| <a id="backend"></a> `backend` | `string` | The backend to use for inference. This affects the model file used. If set to `'wasm'`, the generated wrapper will load `model_quant.onnx`, otherwise it will load `model.onnx`. | utils/generate-wrapper.ts:15 |
18+
| Property | Type | Description | Defined in |
19+
| ------------------------------ | -------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
20+
| <a id="backend"></a> `backend` | `string` | The backend to use for inference. This affects the model file used. If set to `'wasm'`, the generated wrapper will load `model_quant.onnx`, otherwise it will load `model.onnx`. | [utils/generate-wrapper.ts:15](https://github.com/phun-ky/wrapture/blob/main/src/utils/generate-wrapper.ts#L15) |
2021

2122
## Functions
2223

@@ -26,7 +27,8 @@ Options for generating ONNX wrapper files.
2627
function generateWrapper(outputDir, opts): Promise<void>;
2728
```
2829

29-
Defined in: utils/generate-wrapper.ts:39
30+
Defined in:
31+
[utils/generate-wrapper.ts:39](https://github.com/phun-ky/wrapture/blob/main/src/utils/generate-wrapper.ts#L39)
3032

3133
Generates a TypeScript wrapper and type definition file (`wrapped.ts` and
3234
`wrapped.d.ts`) for use with `onnxruntime-web`, including utility functions like

api/wrapture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# wrapture
44

5-
> Last updated 2025-05-14T12:43:13.409Z
5+
> Last updated 2025-05-14T13:01:49.217Z
66
77
---
88

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wrapture",
3-
"version": "0.0.0",
3+
"version": "0.0.1",
44
"description": "",
55
"homepage": "https://github.com/phun-ky/wrapture#readme",
66
"bugs": {

0 commit comments

Comments
 (0)