webmachinelearning / webnn-polyfill

🧠⚙️ Web Neural Network API polyfill based on TensorFlow.js
https://www.npmjs.com/package/@webmachinelearning/webnn-polyfill
Apache License 2.0
102 stars 18 forks source link

Update pow tests #108

Closed wangli69087 closed 3 years ago

wangli69087 commented 3 years ago
According to WebNN API pow op explanation, NNAPI POW would map WebNN API pow op, so we could add converted pow CTS tests. NNAPI Op NNAPI POW Inputs mapping WebNN API pow Arguments
POW 0: A tensor specifying the base.
1: A tensor specifying the exponent.
a: an MLOperand. The first input tensor.
b: an MLOperand. The second input tensor.

@huningxin @BruceDai PTAL, thanks.

BruceDai commented 3 years ago

LGTM, thanks @wangli69087