Skip to content

Conversation

peterbell10
Copy link
Collaborator

Fixes #55284

This gets the example to run but probably doesn't help the readability of the example.

Thoughts?

@facebook-github-bot
Copy link
Contributor

facebook-github-bot commented Apr 6, 2021

💊 CI failures summary and remediations

As of commit 4612145 (more details on the Dr. CI page):


  • 2/2 failures possibly* introduced in this PR
    • 1/2 non-scanned failure(s)

1 failure not recognized by patterns:

Job Step Action
GitHub Actions clang-format Run clang-format 🔁 rerun

ci.pytorch.org: 1 failed


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Copy link
Collaborator

@hameerabbasi hameerabbasi 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. I hate special casing so I can see why I didn't consider this fix right away.

@peterbell10 peterbell10 requested a review from mruberry April 6, 2021 17:45
@mruberry mruberry requested a review from ezyang April 7, 2021 06:17
@mruberry
Copy link
Collaborator

mruberry commented Apr 7, 2021

Thanks @peterbell10! This fix makes sense to me but I've requested a review from @ezyang.

Copy link
Collaborator

@hameerabbasi hameerabbasi left a comment

Choose a reason for hiding this comment

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

Perhaps a small modification.

@ezyang
Copy link
Contributor

ezyang commented Apr 7, 2021

just goes to show we need to run our doc examples haha

@facebook-github-bot
Copy link
Contributor

@ezyang has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@codecov
Copy link

codecov bot commented Apr 7, 2021

Codecov Report

Merging #55391 (4612145) into master (5584332) will decrease coverage by 0.41%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #55391      +/-   ##
==========================================
- Coverage   77.48%   77.06%   -0.42%     
==========================================
  Files        1895     1895              
  Lines      187193   187193              
==========================================
- Hits       145049   144267     -782     
- Misses      42144    42926     +782     

@facebook-github-bot
Copy link
Contributor

@ezyang merged this pull request in 8ac0619.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

__torch_function__ documentation for inheriting from tensor seems incomplete or incorrect

5 participants