Remove the existing [`method_tests`](https://github.com/pytorch/pytorch/blob/0ca029b22d17d236d34bcecad44b94b35b1af4bb/torch/testing/_internal/common_methods_invocations.py#L3337-L3350) (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
Remove the existing
method_tests(that aren't currently testing complex) and add anOpInfotest instead.cc @ezyang @anjali411 @dylanbespalko @mruberry @VitalyFedyunin @walterddr @aocsa