intel / webml-polyfill

Deprecated, the Web Neural Network Polyfill project has been moved to https://github.com/webmachinelearning/webnn-polyfill
Apache License 2.0
161 stars 46 forks source link

[WebGL2] WebGL2 doesn't support broadcasting #316

Closed Christywl closed 5 years ago

Christywl commented 5 years ago

Test Env: Chromium Version: nightly build 70.0.3503.0 (16d3dad) Platform: MacOS/Linux/Windows/Android

Expected Result: WebGL2 supports broadcasting

Actual Result: WebGL2 doesn't support broadcasting

How to Reproduce:

  1. Launch chromium and disable WebML flag
  2. Visit https://brucedai.github.io/nt/test/cts_supplement.html?backend=webgl2, and check ADD/MUL broadcasting test cases
GreyZzzzzzXh commented 5 years ago

This bug has been fixed by replacing webgl2 with tfjs-core (PR #297).

Christywl commented 5 years ago

All the ADD and MUL broadcasting tests passed on webgl backend on nightly build 6540a81.