captum
captum copied to clipboard
Optim-wip: Improve & fix LaplacianImage
trafficstars
- Improved the
LaplacianImagecode as part of removing the ToDo comment. - Added
"same"padding option toGaussianSmoothing. - Improved the
NaturalImagedocs.- Also removed the built-in clamp squash function. It's inclusion was an aesthetic choice, and it's easy enough for users to add on their own.
- Added the new indexing argument for
torch.meshgridinGaussianSmoothingas it will be required in future PyTorch versions. - Changed depreciated
self.assertEqualstoself.assertEqual. - Use
register_full_backward_hookinstead ofregister_backward_hookfor applicable tests, as the later is being depreciated. - Added dtype tests to for image parameterizations & transforms.