-
Notifications
You must be signed in to change notification settings - Fork 26.3k
Closed
Labels
complex_autogradmodule: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchmodule: testsIssues related to tests (not the torch.testing module)Issues related to tests (not the torch.testing module)triagedThis 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
Remove the existing method_tests (that aren't currently testing complex) and add an OpInfo test instead.
>>> x = torch.randn(4, dtype=torch.cdouble, requires_grad=True)
>>> y = torch.randn(4, dtype=torch.cdouble, requires_grad=True)
>>> torch.autograd.gradcheck(torch.dist, [x, y, 3.5])
True
cc @ezyang @anjali411 @dylanbespalko @mruberry @VitalyFedyunin @walterddr @aocsa
Metadata
Metadata
Assignees
Labels
complex_autogradmodule: complexRelated to complex number support in PyTorchRelated to complex number support in PyTorchmodule: testsIssues related to tests (not the torch.testing module)Issues related to tests (not the torch.testing module)triagedThis 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