-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
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
>>> torch.tensor([2.3+4j, 1e-28j])
tensor([(2.3000+4.0000j), (0.0000+0.0000j)])
>>> torch.tensor([2.3+4j, 1e-28])
tensor([(2.3000+4.0000j), (0.0000+0.0000j)])
>>> torch.tensor([2.3, 1e-28])
tensor([2.3000e+00, 1.0000e-28])
Tests similar to the tests for floating point dtypes in test_print should be added for complex dtypes as well.
cc @ezyang @anjali411 @dylanbespalko
Metadata
Metadata
Assignees
Labels
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