intel / webml-polyfill

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

[clDNN] The outputs are incorrect for some operations with RELU1 #277

Closed Christywl closed 5 years ago

Christywl commented 5 years ago

Test Env: Chromium Version: nightly build 70.0.3503.0 (b7ce158) Platform: Windows(Dell XPS 13), Linux Ubuntu 16.04

Expected Result: The test should pass.

Actual Result: The outputs are incorrect for some operations with RELU1. For example:

How to Reproduce:

  1. Launch chromium and enable WebML flag
  2. Visit https://brucedai.github.io/nt/test/issue_relu1.html?backend=cldnn
  3. Check the failed RELU1 tests:
    • check result for Add relu1 example
    • check result for Avg pool float relu1 example/1
    • check result for Conv 1 h3 w2 same relu1 example-1
    • check result for Conv 1 h3 w2 same relu1 example-2
    • check result for Conv 1 h3 w2 valid relu1 example-1
    • check result for Conv 1 h3 w2 valid relu1 example-2
    • check result for Conv 3 h3 w2 same relu1 example-1
    • check result for Conv 3 h3 w2 same relu1 example-2
    • check result for Conv 3 h3 w2 valid relu1 example-1
    • check result for Conv 3 h3 w2 valid relu1 example-2
    • check result for Depthwise conv relu1 example-1
    • check result for Depthwise conv relu1 example-2
    • check result for Fully connected float relu1 example
    • check result for Max pool float relu1 example/1
    • check result for Mul relu1 example
Christywl commented 5 years ago

This issue was fixed on the nightly build a7c5589.