-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
module: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchmodule: primTorchmodule: type promotionRelated to semantics of type promotionRelated to semantics of type promotiontriagedThis 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
a = torch.randn((2, 2)).transpose(0, 1)
a.stride()
: (1, 2)
result = torch.abs(a)
result.stride()
: (1, 2)
b = torch.randn((2, 2), dtype=torch.cfloat).transpose(0, 1)
b.stride()
: (1, 2)
result = torch.abs(b)
result.stride()
: (2, 1)
cc @ezyang @anjali411 @dylanbespalko @mruberry @lezcano @nikitaved @nairbv @ngimel
Metadata
Metadata
Assignees
Labels
module: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchmodule: primTorchmodule: type promotionRelated to semantics of type promotionRelated to semantics of type promotiontriagedThis 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