Unverified Commit 84888b93 authored by Philip Meier's avatar Philip Meier Committed by GitHub
Browse files

remove dependency for dtype getters (#4291)

parent 759c5b6d
......@@ -102,11 +102,11 @@ def cycle_over(objs):
def int_dtypes():
return torch.testing.integral_types()
return (torch.uint8, torch.int8, torch.int16, torch.int32, torch.int64)
def float_dtypes():
return torch.testing.floating_types()
return (torch.float32, torch.float64)
@contextlib.contextmanager
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment