facebookresearch / ClassyVision

An end-to-end PyTorch framework for image and video classification
https://classyvision.ai
MIT License
1.59k stars 277 forks source link

Add better support for testing torch.allclose #652

Closed mannatsingh closed 3 years ago

mannatsingh commented 3 years ago

Summary: Implemented a new ClassyTestCase with support for assertTorchAllClose. This prints in the assertion what the failure inputs are which makes writing tests easier.

Differential Revision: D24911128

facebook-github-bot commented 3 years ago

This pull request was exported from Phabricator. Differential Revision: D24911128

facebook-github-bot commented 3 years ago

This pull request was exported from Phabricator. Differential Revision: D24911128