I want to extract a set of patches from an image (possibly patches from the sliding window) and apply VGG16 on each patch.
Is there a way I could extract the patches without using a for loop ? I would like to utilize the parallelism power of the GPU as much as possible