"...csrc/git@developer.sourcefind.cn:OpenDAS/vision.git" did not exist on "0ebbb0abd0610c8ffe978902c06751f94a2e3197"
Use torch.testing.assert_allclose (#513)
* grep -l 'torch.allclose' -r test | xargs sed -i 's/assert torch.allclose/torch.testing.assert_allclose/g' * grep -l 'torch.allclose' -r test | xargs sed -i 's/self.assertTrue(torch.allclose(\(.*\)))/torch.testing.assert_allclose(\1)/g' * Fix missing atol/rtol, wrong shape, argument order. Remove redundant shape assertions
Showing
Please register or sign in to comment