code: def per_sample_transform(self) -> Callable:
      return ApplyToKeys(
          DataKeys.INPUT,
          T.Compose(
              [
                  T.ToTensor(),
                  T.Resize(self.image_size),
                  T.CenterCrop(self.image_size),
              ]
          ),
      )
  
file_path: lightning-flash/src/flash/image/style_transfer/input_transform.py
imports: from dataclasses import dataclass
  from typing import Callable
  from flash.core.data.io.input import DataKeys
  from flash.core.data.io.input_transform import InputTransform
  from flash.core.data.transforms import ApplyToKeys
  from flash.core.utilities.imports import _TORCHVISION_AVAILABLE
label_desc: Use image node_id 1 for calling the StyleTransferInputTransform obj's underlying member method code with example usage: obj.per_sample_transform() and returns: ApplyToKeys