-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ONNX FE] Implement SoftmaxCrossEntropyLoss for ONNX frontend (opset 12 & 13) #29045
base: master
Are you sure you want to change the base?
Conversation
45ede63
to
6efe660
Compare
Verification of Correctness for
|
6efe660
to
4bc8d0b
Compare
4bc8d0b
to
350a660
Compare
Hello @rkazants, Thanks for your time! |
build_jenkins |
6ce3be6
to
b4b722e
Compare
Added the remaining test models, covering respectively:
|
Verification for
|
Verification for
|
Verification for
|
|
d0689b1
to
a54659b
Compare
Summary of Changes:
Hello @rkazants, Thank you! |
a54659b
to
9b11313
Compare
…index), higher dimension, and no reduction
9b11313
to
9653bea
Compare
Hi @rkazants , just following up on this PR. Let me know if any changes are needed. |
Softmax Cross-Entropy Loss Implementation for ONNX FE
Ticket #20547
This pull request implements the Softmax Cross-Entropy Loss operation for the ONNX frontend in OpenVINO, supporting opset 12 and opset 13. It includes the core functionality, a corresponding header file, a new test model, and a test case for validation.
Key Changes
1. Implementation of Softmax Cross-Entropy Loss
softmax_crossentropy_loss.cpp
Implements the
onnx_softmax_crossentropy_loss
function, handling inputs, attributes, and different reduction modes.softmax_crossentropy_loss.hpp
Declares the
softmax_crossentropy_loss
function for opset 12 and opset 13.2. Testing
softmax_crossentropy_loss_sum.prototxt
New ONNX test model for the Softmax Cross-Entropy Loss operation with the "sum" reduction mode.
onnx_import.in.cpp
Added a test case to validate the Softmax Cross-Entropy Loss operation using the new test model.
Additional Notes
Next Steps
Proof of Precision Calculation
I will attach a comment with:
Please review and let me know if any modifications are required!