Skip to content

Conversation

@titaiwangms
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Mar 1, 2023

Codecov Report

Merging #483 (bf84f87) into main (b0d4f24) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #483   +/-   ##
=======================================
  Coverage   72.45%   72.45%           
=======================================
  Files         109      109           
  Lines       10601    10602    +1     
  Branches     1093     1093           
=======================================
+ Hits         7681     7682    +1     
  Misses       2613     2613           
  Partials      307      307           
Impacted Files Coverage Δ
onnxscript/function_libs/torch_aten/ops/core.py 69.76% <100.00%> (+0.01%) ⬆️

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

@titaiwangms titaiwangms requested a review from xiaowuhu March 1, 2023 17:53
@titaiwangms titaiwangms added the module: torchlib Related to the torch/aten function lib in development label Mar 1, 2023
@titaiwangms titaiwangms merged commit 5ba4fc7 into microsoft:main Mar 1, 2023
@justinchuby
Copy link
Collaborator

Are there tests we can enable for this?

@titaiwangms
Copy link
Contributor Author

Are there tests we can enable for this?

Thinking about parametrizing fx-export into runtime test.

@justinchuby
Copy link
Collaborator

Was there an OpInfo covering this case?

@justinchuby justinchuby mentioned this pull request Mar 4, 2023
7 tasks

size = op.Cast(size, to=INT64.dtype)
# To support -1 dim.
size = op.Abs(size)
Copy link
Collaborator

Choose a reason for hiding this comment

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

I understand -1 becomes 1. Was that intended or was I missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Only -1 becomes 1. Do you think comment is redundant?

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