(self, a)
| 3214 | return tnp.allclose(a, b, rtol=rtol, atol=atol, equal_nan=equal_nan) |
| 3215 | |
| 3216 | def dtype_device(self, a): |
| 3217 | return a.dtype, a.device.split("device:")[1] |
| 3218 | |
| 3219 | def assert_same_dtype_device(self, a, b): |
| 3220 | a_dtype, a_device = self.dtype_device(a) |
no outgoing calls