Skip to content
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

Add missing scalar example in docs of torch.where #93145

Closed
wants to merge 1 commit into from

Conversation

minhlong94
Copy link
Contributor

torch.where(condition, x, y) accepts x and y as either Tensor or Scalar, but the Scalar example is missing in the docs. I simply add the example.

[`torch.where(condition, x, y)`](https://pytorch.org/docs/stable/generated/torch.where.html) accepts `x` and `y` as either `Tensor` or Scalar, but the Scalar example is missing in the docs. I simply add the example.
@pytorch-bot pytorch-bot bot added the release notes: python_frontend release notes category label Jan 27, 2023
@pytorch-bot
Copy link

pytorch-bot bot commented Jan 27, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/93145

Note: Links to docs will display an error until the docs builds have been completed.

❌ 1 Failures

As of commit c15b134:

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Jan 27, 2023

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: minhlong94 / name: Minh-Long Luu (刘明龙) (c15b134)

@ngimel
Copy link
Collaborator

ngimel commented Jan 28, 2023

@pytorchbot merge -f "test failure unrelated"

@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged immediately since you used the force (-f) flag, bypassing any CI checks (ETA: 1-5 minutes).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

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.

None yet

4 participants