Skip to content

Conversation

@xiaowuhu
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Feb 16, 2023

Codecov Report

Merging #444 (94a0f5c) into main (10395c8) will decrease coverage by 0.10%.
The diff coverage is 20.00%.

@@            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              
Impacted Files Coverage Δ
...s/function_libs/torch_aten/ops_correctness_test.py 87.93% <14.28%> (-2.30%) ⬇️
onnxscript/function_libs/torch_aten/ops/nn.py 61.87% <23.07%> (-1.35%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@xiaowuhu xiaowuhu mentioned this pull request Feb 16, 2023
@xiaowuhu xiaowuhu changed the title feat(atenlib): add ops(cross_entropy) feat(atenlib): add ops(cross_entropy_loss) Feb 20, 2023
Copy link
Contributor

@fatcat-z fatcat-z left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@xiaowuhu xiaowuhu merged commit 4986a4b into microsoft:main Mar 2, 2023
@xiaowuhu xiaowuhu deleted the xiaowu/addOps(0216) branch March 2, 2023 06:08
raise NotImplementedError()


@torch_op("aten::cross_entropy_loss", trace_only=True)
Copy link
Collaborator

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

Copy link
Collaborator

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?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

module: torchlib Related to the torch/aten function lib in development

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants