Revert "Add conjugate method on SymFloat (#139249)"

This reverts commit bcf8a0124f.

Reverted https://github.com/pytorch/pytorch/pull/139249 on behalf of https://github.com/huydhn due to Sorry for reverting your change, but the doc build failure is legit ([comment](https://github.com/pytorch/pytorch/pull/139249#issuecomment-2448755839))
This commit is contained in:
PyTorch MergeBot 2024-10-31 00:45:48 +00:00
parent 4db6b740bc
commit 42d790bb65

View file

@ -677,9 +677,6 @@ class SymFloat:
def __hash__(self):
return hash(builtins.float(self))
def conjugate(self) -> "SymFloat":
return self
class SymBool:
"""