-
Notifications
You must be signed in to change notification settings - Fork 4
/
deno.jsonc
70 lines (68 loc) · 3.49 KB
/
deno.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "@denosaurs/netsaur",
"version": "0.4.2",
"exports": {
".": "./mod.ts",
"./web": "./web.ts",
// Data
"./data": "./packages/data/mod.ts",
// Core
"./core/engine": "./packages/core/src/core/engine.ts",
"./core": "./packages/core/src/core/mod.ts",
"./core/types": "./packages/core/src/core/types.ts",
"./core/tensor": "./packages/core/src/core/tensor/tensor.ts",
"./core/layers": "./packages/core/src/core/api/layers.ts",
"./core/shape": "./packages/core/src/core/api/shape.ts",
"./core/models": "./packages/core/src/core/api/network.ts",
"./core/optimizers": "./packages/core/src/core/api/optimizer.ts",
"./core/schedulers": "./packages/core/src/core/api/scheduler.ts",
// Utilities
"./utilities": "./packages/utilities/src/mod.ts",
"./utilities/text": "./packages/utilities/src/text/mod.ts",
"./utilities/image": "./packages/utilities/src/image/mod.ts",
"./utilities/metrics": "./packages/utilities/src/metrics/mod.ts",
"./utilities/encoding": "./packages/utilities/src/encoding/mod.ts",
"./utilities/mapper": "./packages/utilities/src/mapper/mod.ts",
"./utilities/transformer": "./packages/utilities/src/transformer/mod.ts",
"./utilities/misc": "./packages/utilities/src/utils/mod.ts",
// Tokenizers
"./tokenizers": "./packages/tokenizers/mod.ts",
// Visualizer
"./visualizer": "./packages/visualizer/mod.ts"
},
"tasks": {
// Examples
"example:xor": "deno -A ./examples/xor_auto.ts",
"example:xor-option": "deno -A ./examples/xor_option.ts",
"example:xor-cpu": "deno -A ./examples/xor_cpu.ts",
"example:xor-gpu": "deno -A ./examples/xor_gpu.ts",
"example:xor-wasm": "deno -A ./examples/xor_wasm.ts",
"example:autoencoder": "deno -A ./examples/autoencoders/example.ts",
"example:linear": "deno -A ./examples/linear.ts",
"example:multiple-linear": "deno -A ./examples/multiple-linear/student.ts",
"example:binary": "deno -A ./examples/classification/binary_iris.ts",
"example:multiclass": "deno -A ./examples/classification/iris.ts",
"example:sentiment-train": "deno -A ./examples/sentiment-analysis/classifier.ts",
"example:sentiment-test": "deno -A ./examples/sentiment-analysis/tester.ts",
"example:sentiment-try": "deno -A ./examples/sentiment-analysis/analyzer.ts",
"example:text-spam": "deno -A ./examples/classification/spam.ts",
"example:filters": "deno -A examples/filters/conv.ts ",
"example:train": "deno -A examples/model/train.ts ",
"example:run": "deno -A examples/model/run.ts ",
"example:mnist-download": "deno -A examples/mnist/download.ts",
"example:mnist-train": "deno -A examples/mnist/train.ts",
"example:mnist-predict": "deno -A examples/mnist/predict.ts",
"example:tokenizers-basic": "deno -A examples/tokenizers/basic.ts",
// Benchmarks
"bench:netsaur-cpu": "deno -A bench/netsaur_cpu.ts",
"bench:netsaur-wasm": "deno -A bench/netsaur_wasm.ts",
"bench:netsaur": "deno run bench:netsaur-cpu && deno run bench:netsaur-wasm",
"bench:torch-cpu": "python bench/torch_cpu.py",
// Build
"build": "deno run build:cpu && deno run build:wasm && deno run build:tokenizers",
"build:cpu": "cargo build --release -p netsaur",
"build:gpu": "cargo build --release -p netsaur-gpu",
"build:wasm": "deno -Ar jsr:@deno/wasmbuild@0.17.2 -p netsaur --out packages/core/src/backends/wasm/lib",
"build:tokenizers": "deno -Ar jsr:@deno/wasmbuild@0.17.2 -p netsaur-tokenizers --out packages/tokenizers/lib"
}
}