-
Notifications
You must be signed in to change notification settings - Fork 64
feat(atenlib): add ops(cross_entropy_loss) #444
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
Conversation
Codecov Report
@@ Coverage Diff @@
## main #444 +/- ##
==========================================
- Coverage 72.52% 72.43% -0.10%
==========================================
Files 109 109
Lines 10626 10645 +19
Branches 1096 1100 +4
==========================================
+ Hits 7707 7711 +4
- Misses 2612 2627 +15
Partials 307 307
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
onnxscript/tests/function_libs/torch_aten/ops_correctness_test.py
Outdated
Show resolved
Hide resolved
onnxscript/tests/function_libs/torch_aten/ops_correctness_test.py
Outdated
Show resolved
Hide resolved
onnxscript/tests/function_libs/torch_aten/ops_correctness_test.py
Outdated
Show resolved
Hide resolved
onnxscript/tests/function_libs/torch_aten/ops_correctness_test.py
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@@ -239,17 +239,45 @@ def aten_conv_depthwise3d( | |||
raise NotImplementedError() | |||
|
|||
|
|||
@torch_op("aten::cross_entropy_loss", trace_only=True) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would add a comment on why trace only is needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Possible to combine the functions?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.