init(targetSize:)
Creates an augmentation that crops an input image at a random location to the specified target size.
Declaration
init(targetSize: CGSize)Parameters
- targetSize:
The target size of the cropping rectangle. Must be positive.
Creates an augmentation that crops an input image at a random location to the specified target size.
init(targetSize: CGSize)The target size of the cropping rectangle. Must be positive.