RandomCropΒΆ
A preprocessing layer which randomly crops images during training.
Abstract Signature:
RandomCrop(height: int, width: int)
PyTorch
API:
torchvision.transforms.RandomCropStrategy: Macro 'torchvision.transforms.RandomCrop(size=({height}, {width}))'
Apple MLX
API:
βStrategy: Custom / Partial
Flax NNX
API:
βStrategy: Custom / Partial
PaxML / Praxis
API:
βStrategy: Custom / Partial