Module transforms

Module transforms 

Source
Expand description

Data transforms and augmentations

Structs§

Compose
Compose multiple transforms
Normalize
Normalize tensor with mean and std
RandomCrop
Random crop
RandomErasing
Random erasing augmentation
RandomHorizontalFlip
Random horizontal flip
ToTensor
Convert to tensor (identity for already-tensor data)

Traits§

Transform
Trait for data transforms