Add test for PatchExtractor (float value for max_patches)
Fix float value support for max_patches in PatchExtractor
Merge pull request #1880 from NicolasTr/patch_extractor_float_max_patches

Support float values for max_patches in PatchExtractor.transform