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

Implement ATen complex and polar | feat(torchlib) #1286

Merged
merged 1 commit into from
Mar 4, 2024

Conversation

justinchuby
Copy link
Collaborator

@justinchuby justinchuby commented Mar 4, 2024

aten::complex has a broadcasting behavior which is implemented here.

NOTE: Optimizations should consider eliminating the Expand node when the broadcasted shape is the same as the input shape.

Fixes pytorch/pytorch#121100

@justinchuby justinchuby added the topic: torch_lib Related to the torch/aten function lib in development label Mar 4, 2024
@justinchuby justinchuby merged commit aded324 into main Mar 4, 2024
29 of 33 checks passed
@justinchuby justinchuby deleted the justinchu/aten-complex branch March 4, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: torch_lib Related to the torch/aten function lib in development
Projects
Development

Successfully merging this pull request may close these issues.

torch.onnx.dynamo_export complex number error
2 participants