pytorch/torch/testing
Aaron Gokaslan e2a3817dfd [BE] Enable C419 rule for any all shortcircuiting (#99890)
Apparently https://github.com/pytorch/pytorch/pull/78142 made torch.JIT allow for simple generator expressions which allows us to enable rules that replace unnecessary list comprehensions with generators in any/all. This was originally part of #99280 but I split it off into this PR so that it can be easily reverted should anything break.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/99890
Approved by: https://github.com/justinchuby, https://github.com/kit1980, https://github.com/malfet
2023-04-25 15:02:13 +00:00
..
_internal [BE] Enable C419 rule for any all shortcircuiting (#99890) 2023-04-25 15:02:13 +00:00
__init__.py document torch.testing.assert_allclose (#89526) 2022-12-01 11:22:50 +00:00
_comparison.py improve memory footprint of torch.testing.assert_close (#96131) 2023-03-29 23:49:56 +00:00
_creation.py disallow invalid value ranges in torch.testing.make_tensor (#96334) 2023-03-24 23:55:17 +00:00