-
Notifications
You must be signed in to change notification settings - Fork 48
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
Make MLOperandDescriptor.shape
a required
dictionary member
#758
Comments
This is especially relevant in light of This alone is not sufficient reason for making |
I wonder why it had an optional default to begin with? 🤔 Maybe it was for simple scalar constants, but with the |
The optional default was for creating a scalar descriptor. I agreed making it required would be less error-prone. |
Put up #764. PTAL! I'd like to merge the corresponding Chromium change in tandem with removing our grace-period-support for |
See webmachinelearning/webnn#758 Also removes the temporary support for passing "dimensions" which was added in https://crrev.com/e7e99aa5 Bug: 365813262 Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,win11-blink-rel Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659 Reviewed-by: ningxin hu <ningxin.hu@intel.com> Commit-Queue: ningxin hu <ningxin.hu@intel.com> Auto-Submit: Austin Sullivan <asully@chromium.org> Cr-Commit-Position: refs/heads/main@{#1369192}
See webmachinelearning/webnn#758 Also removes the temporary support for passing "dimensions" which was added in https://crrev.com/e7e99aa5 Bug: 365813262 Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,win11-blink-rel Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659 Reviewed-by: ningxin hu <ningxin.hu@intel.com> Commit-Queue: ningxin hu <ningxin.hu@intel.com> Auto-Submit: Austin Sullivan <asully@chromium.org> Cr-Commit-Position: refs/heads/main@{#1369192}
…required dictionary member, a=testonly Automatic update from web-platform-tests webnn: Make MLOperandDescriptor.shape a required dictionary member See webmachinelearning/webnn#758 Also removes the temporary support for passing "dimensions" which was added in https://crrev.com/e7e99aa5 Bug: 365813262 Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,win11-blink-rel Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659 Reviewed-by: ningxin hu <ningxin.hu@intel.com> Commit-Queue: ningxin hu <ningxin.hu@intel.com> Auto-Submit: Austin Sullivan <asully@chromium.org> Cr-Commit-Position: refs/heads/main@{#1369192} -- wpt-commits: c2d015181a4956b2f91061595ec7da93823ec3ec wpt-pr: 48637
…required dictionary member, a=testonly Automatic update from web-platform-tests webnn: Make MLOperandDescriptor.shape a required dictionary member See webmachinelearning/webnn#758 Also removes the temporary support for passing "dimensions" which was added in https://crrev.com/e7e99aa5 Bug: 365813262 Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,win11-blink-rel Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659 Reviewed-by: ningxin hu <ningxin.hu@intel.com> Commit-Queue: ningxin hu <ningxin.hu@intel.com> Auto-Submit: Austin Sullivan <asully@chromium.org> Cr-Commit-Position: refs/heads/main@{#1369192} -- wpt-commits: c2d015181a4956b2f91061595ec7da93823ec3ec wpt-pr: 48637
…required dictionary member, a=testonly Automatic update from web-platform-tests webnn: Make MLOperandDescriptor.shape a required dictionary member See webmachinelearning/webnn#758 Also removes the temporary support for passing "dimensions" which was added in https://crrev.com/e7e99aa5 Bug: 365813262 Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,win11-blink-rel Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659 Reviewed-by: ningxin hu <ningxin.hu@intel.com> Commit-Queue: ningxin hu <ningxin.hu@intel.com> Auto-Submit: Austin Sullivan <asully@chromium.org> Cr-Commit-Position: refs/heads/main@{#1369192} -- wpt-commits: c2d015181a4956b2f91061595ec7da93823ec3ec wpt-pr: 48637
…required dictionary member, a=testonly Automatic update from web-platform-tests webnn: Make MLOperandDescriptor.shape a required dictionary member See webmachinelearning/webnn#758 Also removes the temporary support for passing "dimensions" which was added in https://crrev.com/e7e99aa5 Bug: 365813262 Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,win11-blink-rel Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659 Reviewed-by: ningxin hu <ningxin.huintel.com> Commit-Queue: ningxin hu <ningxin.huintel.com> Auto-Submit: Austin Sullivan <asullychromium.org> Cr-Commit-Position: refs/heads/main{#1369192} -- wpt-commits: c2d015181a4956b2f91061595ec7da93823ec3ec wpt-pr: 48637 UltraBlame original commit: 9f95e773e94fb574ef3183aeac32974ee03e0cd9
…required dictionary member, a=testonly Automatic update from web-platform-tests webnn: Make MLOperandDescriptor.shape a required dictionary member See webmachinelearning/webnn#758 Also removes the temporary support for passing "dimensions" which was added in https://crrev.com/e7e99aa5 Bug: 365813262 Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,win11-blink-rel Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659 Reviewed-by: ningxin hu <ningxin.huintel.com> Commit-Queue: ningxin hu <ningxin.huintel.com> Auto-Submit: Austin Sullivan <asullychromium.org> Cr-Commit-Position: refs/heads/main{#1369192} -- wpt-commits: c2d015181a4956b2f91061595ec7da93823ec3ec wpt-pr: 48637 UltraBlame original commit: 9f95e773e94fb574ef3183aeac32974ee03e0cd9
…required dictionary member, a=testonly Automatic update from web-platform-tests webnn: Make MLOperandDescriptor.shape a required dictionary member See webmachinelearning/webnn#758 Also removes the temporary support for passing "dimensions" which was added in https://crrev.com/e7e99aa5 Bug: 365813262 Cq-Include-Trybots: luci.chromium.try:mac14-blink-rel,win11-blink-rel Change-Id: Ib714ae540da7fbd7d55365dc739bfb8dbf266406 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5850659 Reviewed-by: ningxin hu <ningxin.huintel.com> Commit-Queue: ningxin hu <ningxin.huintel.com> Auto-Submit: Austin Sullivan <asullychromium.org> Cr-Commit-Position: refs/heads/main{#1369192} -- wpt-commits: c2d015181a4956b2f91061595ec7da93823ec3ec wpt-pr: 48637 UltraBlame original commit: 9f95e773e94fb574ef3183aeac32974ee03e0cd9
Follow-up to #669. Proposed diff:
MLOperandDescriptor.shape
is currently optional and defaults to a scalar. This may lead to hard-to-track-down bugs, which I've been personally bitten by!From @reillyeon on this comment:
The text was updated successfully, but these errors were encountered: