name: 'transform-image' labels: recommended_framework: #the recommend framework, such as 'pytorch1.2.0' class: image-transform others: operator: 'towhee/transform-image-operator-template' init: size: int call: input: img_path: Union[Image.Image, torch.Tensor, str] output: img_transformed: torch.Tensor