You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DML and CPU Ep output for Sigmoid is also same. Does that mean there is any layout changes in the output of sigmoid between CPU EP and DML EP?
It surely seems like, if we have input of shape (1,1,2) with this as an input tensor([[[-0.2934, -0.2934]]]), then the output from both the EP is exactly same.
So, due to this layout change, wrong order of elements get multiplied during the Mul Op.
Describe the issue
Here is sample code. The output from Dml EP and CPU EP are completely different:
To reproduce
Run the above code
Urgency
Low, I have figured this out and written a manual implementation of it but it was tough to figure out why Dml output and CPU output were very off.
Platform
Windows
OS Version
10.0.26100 Build 26100
ONNX Runtime Installation
Released Package
ONNX Runtime Version or Commit ID
1.21.0
ONNX Runtime API
Python
Architecture
X64
Execution Provider
DirectML
Execution Provider Library Version
No response
The text was updated successfully, but these errors were encountered: