Skip to content

Commit 998842d

Browse files
Version Packages (#15)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 78cca17 commit 998842d

File tree

3 files changed

+23
-22
lines changed

3 files changed

+23
-22
lines changed

.changeset/short-weeks-care.md

-21
This file was deleted.

CHANGELOG.md

+22
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,27 @@
11
# tfjs-image-node
22

3+
## 2.0.0
4+
5+
### Major Changes
6+
7+
- [#14](https://github.com/kevinanielsen/tfjs-image-node/pull/14) [`78cca17`](https://github.com/kevinanielsen/tfjs-image-node/commit/78cca177edab647d327afcd4de2cf8f3bb8010b2) Thanks [@kevinanielsen](https://github.com/kevinanielsen)! - # Refactor classifyImage to use single file and import and reintroduce "platform" parameter.
8+
9+
## _WHAT:_
10+
11+
The classifyImage function has been refactored to use single file and import.
12+
13+
## _HOW:_
14+
15+
Change function call to
16+
17+
```typescript
18+
classifyImage(model, image, "node");
19+
// OR
20+
classifyImage(model, image, "classic");
21+
```
22+
23+
The default platform will be node. It is not necessary to specify this.
24+
325
## 1.1.5
426

527
### Patch Changes

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "tfjs-image-node",
3-
"version": "1.1.5",
3+
"version": "2.0.0",
44
"description": "A simple image classifier using tfjs and running in node.js",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",

0 commit comments

Comments
 (0)