Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing algorithms, add stylistic improvements, update with spec conventions #446

Merged
merged 160 commits into from
Aug 30, 2023
Merged
Changes from 155 commits
Commits
Show all changes
160 commits
Select commit Hold shift + click to select a range
0eea13e
Add the batch normalization algorithm
zolkis Jan 24, 2023
5973cd9
Add the clamp() algorithm
zolkis Feb 15, 2023
d68bd87
Add the 'copy MLOperand' and 'create MLActivation' steps
zolkis May 25, 2023
7082ee7
Add the concat algorithm
zolkis Mar 22, 2023
1651b73
Add steps for 'rank', 'validate MLOperand'. Fix the concat() steps
zolkis May 25, 2023
dc4d3d6
clamp(): improve platform related steps
zolkis Jun 2, 2023
bce29de
concat: remove style from title
zolkis Jun 6, 2023
2845074
concat: remove note styling from argument description
zolkis Jun 6, 2023
093e38b
Merge pull request #397 from zolkis/batchnorm-algorithm
anssiko Jun 19, 2023
828f044
Merge pull request #398 from zolkis/concat-algorithm
anssiko Jun 19, 2023
9ad554d
Merge pull request #399 from zolkis/clamp-algorithm
anssiko Jun 19, 2023
20499ba
Add stylistic definitions for hiding algorithms, stylistic boxes
zolkis Jun 19, 2023
257bcad
Adapt the existing main version to new style, without indenting exist…
zolkis Jun 19, 2023
e260d9f
Indent algorithms and fix make errors
zolkis Jun 19, 2023
329f41c
Merge pull request #401 from zolkis/zk-conventions-integration
anssiko Jun 20, 2023
9b52017
Merge branch 'main' of https://github.com/webmachinelearning/webnn in…
zolkis Jun 20, 2023
a6178e9
Add the batch normalization algorithm
zolkis Jan 24, 2023
013250e
Add the concat algorithm
zolkis Mar 22, 2023
ef88d7c
Add steps for 'rank', 'validate MLOperand'. Fix the concat() steps
zolkis May 25, 2023
236bec6
concat: remove style from title
zolkis Jun 6, 2023
780d1a9
concat: remove note styling from argument description
zolkis Jun 6, 2023
98268b1
Add the clamp() algorithm
zolkis Feb 15, 2023
02e977b
Add the 'copy MLOperand' and 'create MLActivation' steps
zolkis May 25, 2023
5faf170
clamp(): improve platform related steps
zolkis Jun 2, 2023
1c89402
Add stylistic definitions for hiding algorithms, stylistic boxes
zolkis Jun 19, 2023
4a26973
Adapt the existing main version to new style, without indenting exist…
zolkis Jun 19, 2023
75925de
Indent algorithms and fix make errors
zolkis Jun 19, 2023
d5dd4f9
Merge branch 'zk-conventions-integration' of https://github.com/zolki…
zolkis Jun 20, 2023
8fac5ca
Align the algorithms for input, constant, clamp, concat, batch norm etc
zolkis Jun 20, 2023
30ba12e
Adress review comments on aligning the algorithms for input, constant…
zolkis Jun 21, 2023
963c9a0
ALign steps for creating platform objects for operands
zolkis Jun 21, 2023
c54d842
Merge pull request #405 from zolkis/zk-conventions-integration
anssiko Jun 21, 2023
6c6e033
Add the build() and buildSync() algorithms
zolkis Jun 21, 2023
567396b
Add the conv2d() and convTranspose2d() algorithms
zolkis Jun 21, 2023
5f7a507
Add the element-wise binary operation algorithms
zolkis Jun 21, 2023
0fab039
Add the element-wise unary operation algorithms
zolkis Jun 21, 2023
5c9190b
Add the elu() algorithm
zolkis Jun 21, 2023
eda2dba
Add the gemm() algorithm
zolkis Jun 21, 2023
c3ec176
Add the gru() and gruCell() algorithms
zolkis Jun 22, 2023
9f40ccd
Add the hard-sigmoid algorithms
zolkis Jun 22, 2023
bc70a12
Add the hard-swish algorithm
zolkis Jun 22, 2023
7b9fdaf
Add the instance normalization algorithm
zolkis Jun 26, 2023
a6ef2f0
Add the leaky RELU algorithm
zolkis Jun 26, 2023
5480f38
Add the linear function alg
zolkis Jun 26, 2023
d035242
Add the LSTM and LSTM Cell algorithms
zolkis Jun 26, 2023
35a8de7
Add the matmul() algorithm
zolkis Jun 26, 2023
1b0e8f4
Add the pad() algorithm
zolkis Jun 26, 2023
e2aa350
Add the prelu() algorithm
zolkis Jun 26, 2023
ea7ff6d
Add the reduction algorithms
zolkis Jun 26, 2023
8f39ef2
Add the relu() algorithm
zolkis Jun 26, 2023
e7e825b
Add the resample2d() algorithm
zolkis Jun 26, 2023
3657d7f
Add the pooling algorithms
zolkis Jun 26, 2023
869fa53
Add the reshape algorithm
zolkis Jun 27, 2023
41c8c44
Add the sigmoid algorithm
zolkis Jun 27, 2023
18528db
Add the slice algorithm
zolkis Jun 27, 2023
b17eaac
Add the softmax algorithm
zolkis Jun 27, 2023
bfc124b
Add the softplus algorithm
zolkis Jun 27, 2023
deaf93b
Add the softsign method
zolkis Jun 27, 2023
cdc2cc7
Add the split algorithm
zolkis Jun 27, 2023
5c2c0a1
Add the tanh algorithm
zolkis Jun 27, 2023
a4f36da
Add the squeeze() algorithm
zolkis Jun 27, 2023
0f4e059
Add the transpose algorithm
zolkis Jun 27, 2023
49dd08c
Merge pull request #406 from zolkis/stage-build-algorithm
anssiko Jun 29, 2023
de2aec8
Merge pull request #407 from zolkis/stage-conv2d-convtranspose2d-algo…
anssiko Jun 29, 2023
f877a4e
Merge pull request #408 from zolkis/stage-binary-operations
anssiko Jun 29, 2023
09817d0
Merge pull request #409 from zolkis/stage-unary-algorithms
anssiko Jun 29, 2023
9dfa973
Merge pull request #410 from zolkis/stage-elu-algorithm
anssiko Jun 29, 2023
6304850
Merge pull request #411 from zolkis/stage-gemm-algorithm
anssiko Jun 29, 2023
45b03c5
Merge pull request #412 from zolkis/stage-gru-gruCell-algorithms
anssiko Jun 29, 2023
d623fcd
Merge pull request #413 from zolkis/stage-hardsigmoid-algorithm
anssiko Jun 29, 2023
1581f54
Merge pull request #414 from zolkis/stage-hardswish-algorithm
anssiko Jun 29, 2023
b5bb09b
Merge pull request #415 from zolkis/stage-instance-norm-alg
anssiko Jun 29, 2023
aabda96
Merge pull request #416 from zolkis/stage-leakyRELU-alg
anssiko Jun 29, 2023
491de73
Merge pull request #417 from zolkis/stage-linear-alg
anssiko Jun 29, 2023
60efe53
Merge pull request #418 from zolkis/stage-lstm-algorithms
anssiko Jun 29, 2023
6c76b25
Merge pull request #419 from zolkis/stage-matmul-algorithm
anssiko Jun 29, 2023
f3377e8
Merge pull request #420 from zolkis/stage-pad-algorithm
anssiko Jun 29, 2023
3da36ac
Merge pull request #421 from zolkis/stage-pooling-algorithms
anssiko Jun 29, 2023
a0990f0
Merge pull request #423 from zolkis/stage-reduction-algorithms
anssiko Jun 29, 2023
35a6c6b
Merge pull request #424 from zolkis/stage-relu-algorithm
anssiko Jun 29, 2023
38c78f6
Merge pull request #426 from zolkis/stage-reshape-algorithm
anssiko Jun 29, 2023
41d2b7f
Add the prelu() algorithm
zolkis Jun 26, 2023
aea6a29
Merge branch 'stage-prelu-algorithm' of https://github.com/zolkis/web…
zolkis Jun 29, 2023
16b76c3
Update index.bs
zolkis Jun 29, 2023
581f929
Fix ref to broadcast shapes
zolkis Jun 29, 2023
542c7e0
Merge pull request #428 from zolkis/stage-slice-algorithm
anssiko Jun 29, 2023
7e22c82
Merge pull request #430 from zolkis/stage-softplus-algorithm
anssiko Jun 29, 2023
ef17659
Merge branch 'zk-conventions-integration' into stage-sigmoid-algorithm
zolkis Jun 29, 2023
a61ff26
Merge pull request #427 from zolkis/stage-sigmoid-algorithm
anssiko Jun 29, 2023
d9b28d1
Merge pull request #432 from zolkis/stage-split-algorithm
anssiko Jun 29, 2023
84f6879
Merge pull request #433 from zolkis/stage-squeeze-algorithm
anssiko Jun 29, 2023
c6711c3
Merge pull request #435 from zolkis/stage-transpose-algorithm
anssiko Jun 29, 2023
81b35b0
Merge branch 'zk-conventions-integration' into stage-resample2d-algor…
zolkis Jun 29, 2023
44d13c1
Merge branch 'zk-conventions-integration' into stage-softmax-algorithm
zolkis Jun 29, 2023
f33242e
Merge branch 'zk-conventions-integration' into stage-softsign-algorithm
zolkis Jun 29, 2023
0f8a85b
Merge branch 'zk-conventions-integration' into stage-tanh-algorithm
zolkis Jun 29, 2023
0d082e5
Fix summary element
zolkis Jun 29, 2023
3aad28e
Merge pull request #422 from zolkis/stage-prelu-algorithm
anssiko Jun 29, 2023
0e8223a
Merge pull request #425 from zolkis/stage-resample2d-algorithm
anssiko Jun 29, 2023
52f9804
Merge pull request #429 from zolkis/stage-softmax-algorithm
anssiko Jun 29, 2023
0ae89e3
Merge pull request #431 from zolkis/stage-softsign-algorithm
anssiko Jun 29, 2023
9ddd4b9
Merge pull request #434 from zolkis/stage-tanh-algorithm
anssiko Jun 29, 2023
dbff6e2
Fix merge errors
zolkis Jun 29, 2023
157e365
Merge pull request #437 from zolkis/zk-conventions-integration
anssiko Jun 29, 2023
bb94f01
Add the command finish steps
zolkis Jul 12, 2023
b7eaee9
Fix #439: add missing conv2d() and convTranspose2d() validation steps
zolkis Jul 12, 2023
a799197
Fix a few missing <details open> tags for the relevant dev notes to s…
wchao1115 Aug 9, 2023
5b4fba3
Merge pull request #440 from zolkis/stage-command-encoder
anssiko Aug 10, 2023
e8d7169
Merge pull request #441 from zolkis/stage-conv2d-convtranspose2d-algo…
anssiko Aug 10, 2023
64ca45f
Fix merge conflicts
zolkis Aug 10, 2023
b262354
Fix sigmoid, hardswish and relu cross references
zolkis Aug 10, 2023
5655870
Fix buidSync() steps for #446
zolkis Aug 14, 2023
6fff9d0
Fix conv2d() steps according to review in #446
zolkis Aug 14, 2023
0905ab7
Remove duplicate 'then's
zolkis Aug 14, 2023
b773691
Fix typos
zolkis Aug 14, 2023
0ed9441
Fix clamp() steps according to the review in #446
zolkis Aug 14, 2023
8b36f8d
Fix the pooling steps according to the review in #446
zolkis Aug 14, 2023
7397e1a
Fix the convTranspose2d() steps and improve conv2d(). Fix typos.
zolkis Aug 15, 2023
4d57aad
Fix the softmax() steps to address the review in #446
zolkis Aug 15, 2023
ad720c3
Fix #450: replace unnecessary type checks with asserts
zolkis Aug 15, 2023
434a9e0
Fix #450: use TypeError simple exceptions
zolkis Aug 15, 2023
7e6177f
Fix #450: remove unnecessary checks that are covered by WebIDL bindings
zolkis Aug 16, 2023
ba52f5a
Fix #450: replace undefined with map/exists and remove default inits
zolkis Aug 16, 2023
6129789
Fix invocations of 'create MLActivation'
zolkis Aug 16, 2023
6cea0c6
Style improvements according to suggestions in #450
zolkis Aug 17, 2023
e69e71c
Fix typos for #446
zolkis Aug 17, 2023
33bb5e4
Fix more typos
zolkis Aug 17, 2023
d6d8c3e
Remove 'and stop' after throwing. Fix throw clauses.
zolkis Aug 17, 2023
b30c3d6
Link 'size' and 'rank'. Replace '.length' with 'size'. See #450
zolkis Aug 18, 2023
6295605
batchNorm: validate axis before using; see #446 review
zolkis Aug 21, 2023
1272c28
batchNorm: remove steps for implicit axis setting; see #446 review
zolkis Aug 21, 2023
55ff2b0
batchNorm: fix validation steps and create MLOperand step
zolkis Aug 21, 2023
3a85661
Pooling: fix validation steps; see review of #446
zolkis Aug 21, 2023
4fa0a9b
Pooling: add validation to options.windowDimensions; see review for #446
zolkis Aug 21, 2023
d4123e7
Fix the validation steps for concat and split. See the review of #446.
zolkis Aug 21, 2023
d5343df
Fix the slice and squeeze steps. See #446.
zolkis Aug 21, 2023
685eb59
Fix typos
zolkis Aug 21, 2023
268cbce
more tidying fix b issue
inexorabletash Aug 21, 2023
54e703b
Split out createContext/createContextSync overloads
inexorabletash Aug 21, 2023
5cad565
Drop some unnecessary lt attributes
inexorabletash Aug 21, 2023
ef939ec
Fix some of the review comments for lstm() and lstmCell(). Fix more t…
zolkis Aug 22, 2023
f7d29a2
Replace 'between' with [=the range=] definitions for #446.
zolkis Aug 22, 2023
a06557c
git squash commit for zk-conventions-integration.
inexorabletash Aug 21, 2023
5d1cb67
Improve algorithm linting and method linking
inexorabletash Aug 22, 2023
5ccd7b0
Remove orphaned </div>s
inexorabletash Aug 22, 2023
305de15
Replace snake_case with camelCase for variables in algorithms.
zolkis Aug 23, 2023
2c4f00a
Remove unneeded hardcoded references to specs and definitions
dontcallmedom Aug 23, 2023
fb7eac9
Merge pull request #1 from dontcallmedom/zk-conventions-integration
zolkis Aug 23, 2023
7831c96
Fix review comments for matmul(), gru() and gruCell()
zolkis Aug 23, 2023
3e4e9d0
Remove more unnecessary type checks for #446. Fix linting errors.
zolkis Aug 23, 2023
4ca7e8e
Remove code style from true, false and scalars
zolkis Aug 23, 2023
4700e74
Fix matmul step, fix more typos
zolkis Aug 24, 2023
4db9894
Fix batchnorm validation steps for mean, variance, scale, bias
zolkis Aug 24, 2023
f937b88
Fix resample2d() steps
zolkis Aug 24, 2023
18442ad
Add acks for #446 and related work
zolkis Aug 24, 2023
3f9f3b3
Fix steps in resample2d(). Fix typo in conv2d().
zolkis Aug 25, 2023
6818a1c
Fix #459: correct the concat() steps
zolkis Aug 25, 2023
ffce2d6
Fix #451: check options.axes in reduce operations
zolkis Aug 25, 2023
b5b95d4
Remove spurious step from matmul()
zolkis Aug 25, 2023
c067b22
Improve concat() steps
zolkis Aug 25, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading