-
Notifications
You must be signed in to change notification settings - Fork 25.7k
port clamp.Tensor to structured #77149
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
🔗 Helpful links
✅ No Failures (0 Pending)As of commit 72b6233 (more details on the Dr. CI page): Expand to see more💚 💚 Looks good so far! There are no failures yet. 💚 💚 This comment was automatically generated by Dr. CI (expand for details).Please report bugs/suggestions to the (internal) Dr. CI Users group. |
| .add_input(self) \ | ||
| .promote_inputs_to_common_dtype(true) \ | ||
| .cast_common_dtype_to_outputs(true) \ | ||
| .enforce_safe_casting_to_output(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 feel like a lambda should have worked here? Returning the config
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.
It has C10_DISABLE_COPY_AND_ASSIGN(TensorIteratorConfig); so I didn't find the right incantation.
|
@pytorchbot merge this |
|
Hey @ngimel. |
Summary: Per title Pull Request resolved: #77149 Approved by: https://github.com/ezyang Test Plan: contbuild & OSS CI, see https://hud.pytorch.org/commit/pytorch/pytorch/225b037df8f9af0363459b640126ee871b396110 Reviewed By: atalman Differential Revision: D36353620 Pulled By: atalman fbshipit-source-id: 3b6c773ccdd52eeff9f851513e96916b67cd1dbe
Per title