code: def per_sample_transform(self):
      return IceVisionTransformAdapter(
          [*A.resize_and_pad(self.image_size), A.Normalize()]
      )
  
imports: from dataclasses import dataclass
  from typing import Any, Callable, Dict, List, Optional, Tuple
  import numpy
  from torch import Tensor, nn
  from flash.core.data.io.input import DataKeys
  from flash.core.data.io.input_transform import InputTransform
  from flash.core.utilities.imports import _ICEVISION_AVAILABLE, _ICEVISION_GREATER_EQUAL_0_11_0, _TOPIC_IMAGE_AVAILABLE, requires
label_desc: Use image node_id 1 for calling the IceVisionInputTransform obj's underlying member method code with example usage: obj.per_sample_transform() and returns: IceVisionTransformAdapter