Closed Christywl closed 5 years ago
Should add more check for the details of operand based on Android NN API
@Christywl Fixed. Please verify
@sunlin-link , I tried the chromium nightly build 313c1c2, most negative tests passed except for the following case:
Steps:
Run https://brucedai.github.io/nt/testm/index-local.html?backend=mps, check the tests in #setOperandValue API
:
This issue was fixed on nightly build 8e6c6d1.
Test Env: Chromium Version : nightly build 65.0.3324.0 (revision f9e1a31) OS : Mac OS X 10.13.4
Expected Result:
Actual Result: No exception is thrown when an argument passed to setOperandValue() is incompatible with the type expected
How to reproduce: Set the following incompatible value:
For example: