mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Support all unsigned int sizes on unique (#123643)
Signed-off-by: Edward Z. Yang <ezyang@meta.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/123643 Approved by: https://github.com/albanD, https://github.com/kit1980
This commit is contained in:
committed by
PyTorch MergeBot
parent
416f532753
commit
8aad72b0d3
@ -2055,7 +2055,7 @@ class TestTestParametrizationDeviceType(TestCase):
|
||||
for test_func, name in _get_test_funcs_for_test_class(device_cls):
|
||||
should_apply = (name == 'test_op_param_test_op_x_2_cpu_float64' or
|
||||
('test_other' in name and 'y_5' in name) or
|
||||
('test_three' in name and name.endswith('int16')))
|
||||
('test_three' in name and name.endswith('_int16')))
|
||||
self.assertEqual(hasattr(test_func, '_decorator_applied'), should_apply)
|
||||
|
||||
def test_modules_decorator_applies_module_and_param_specific_decorators(self, device):
|
||||
|
Reference in New Issue
Block a user