autograd-ts 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +19 -1
  2. package/package.json +6 -2
package/README.md CHANGED
@@ -226,9 +226,27 @@ This feedback loop is the mechanism that allows neural networks to learn.
226
226
 
227
227
  # Project Scope
228
228
 
229
- Version 0.1.0 focuses on a minimal learning system.
229
+ ## Usage
230
+
231
+ Install:
232
+
233
+ ```bash
234
+ npm install autograd-ts
235
+ ```
236
+
237
+ ## Import
238
+ ```ts
239
+ import {
240
+ Value,
241
+ val,
242
+ MLP,
243
+ mse,
244
+ sgd,
245
+ } from 'autograd-ts';
246
+ ```
230
247
 
231
248
  ## Core Autograd Engine
249
+ Version 0.1.0 focuses on a minimal learning system.
232
250
 
233
251
  * Value
234
252
  * add
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autograd-ts",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "A tiny reverse-mode automatic differentiation engine in TypeScript",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -10,7 +10,11 @@
10
10
  "types": "./dist/index.d.ts"
11
11
  }
12
12
  },
13
- "files": ["dist", "README.md", "LICENSE"],
13
+ "files": [
14
+ "dist",
15
+ "README.md",
16
+ "LICENSE"
17
+ ],
14
18
  "scripts": {
15
19
  "build": "tsc",
16
20
  "dev": "vitest run tests/value.test.ts",