Searched refs:wrap_method_with_policy (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/pytorch/torch/testing/_internal/ |
H A D | common_utils.py | 2960 setattr(self, method_name, self.wrap_method_with_policy(test_method, policy)) 2964 setattr(self, method_name, self.wrap_method_with_policy(test_method, policy)) 2969 def wrap_method_with_policy(self, method, policy): member in TestCase 2983 return self.wrap_method_with_policy(method, self.assertLeaksNoCudaTensors)
|
/aosp_15_r20/external/pytorch/test/ |
H A D | test_mps.py | 1248 setattr(self, method_name, super().wrap_method_with_policy(test_method, policy)) 1252 return super().wrap_method_with_policy(method, self.assertLeaksNoMpsTensors)
|