com.intel.analytics.bigdl.dataset.image
Apply this transformer to rdd
Apply this transformer to rdd
Crop a
cropWidthxcropHeightpatch from an image. The patch size should be less than the image size. There're two cropping methods: at random and from the center. The former is preferred for simple data augmentation during training while the later applies to validation or testing