class_docstr: Uses PyTorch to transform an image (resize, crop, normalize, etc...)
  
  Args:
      size: (`int`)
          Image size to use. A resize to `size x size` followed by center crop and
          image normalization will be done.
code: def __init__(self, size: int) -> None:
      super().__init__()
      # user defined transform
      self.tfms = transforms.Compose(
          [
              transforms.Resize(size),
              transforms.CenterCrop(224),
              transforms.ToTensor(),
              transforms.Normalize(
                  [0.485, 0.456, 0.406], [0.229, 0.224, 0.225]
              ),
          ]
      )
  
file_path: towhee/tests/unittests/mock_operators/pytorch_transform_operator/pytorch_transform_operator.py
imports: from typing import NamedTuple, Union
  import numpy
  import torch
  from torchvision import transforms
  from towhee.operator import Operator
  from towhee.utils.pil_utils import PILImage
label_desc: Use image node_id 1 to create a new PytorchTransformOperator object from inherited base classes: Operator with example: obj = PytorchTransformOperator(size)