transform.Crop

class transform.Crop(size)

Bases: object

Crop sample for batch-wise training. Image is of shape CxHxW

__call__(sample)