-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
function requestA request for a new function or the addition of new arguments/modes to an existing function.A request for a new function or the addition of new arguments/modes to an existing function.module: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🚀 Feature
Add complex number support for torch.remainder.
Motivation
When porting remainder from TH to ATen, I noticed that other operators, like torch.div, have support for complex numbers. It wasn't mathematically clear to me how to implement support for complex numbers in torch.remainder, and since the original TH implementation did not have it, it was outside the scope of that issue.
Pitch
@nikitaved explained some of the details of how complex support could be implemented in these comments:
Metadata
Metadata
Assignees
Labels
function requestA request for a new function or the addition of new arguments/modes to an existing function.A request for a new function or the addition of new arguments/modes to an existing function.module: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchtriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module