perform cyclic check for hue in test_rgb2hsv (#2477)
* perform cyclic check for hue in test_rgb2hsv Test fails for cases when hue=0 and hue=360. As hue is cyclic in nature, add cyclic logic for checking the max difference by taking the sin of the tensor and then comparing the max values. * address linter issues
Showing
Please register or sign in to comment