TorchTransformCompose#

class TorchTransformCompose(transforms, *, order=None)[source]#

Compose class used for transforms in torchvision, only support PIL image, some transforms with tensor in torchvision are not supported, such as Normalize and ToTensor in torchvision.

Parameters:
  • transforms – the same with Compose.

  • order – the same with VisionTransform.