code: def _transform(n_px):
      return Compose(
          [
              Resize(n_px),
              CenterCrop(n_px),
              _convert_image_to_rgb,
              ToTensor(),
              Normalize(
                  (0.48145466, 0.4578275, 0.40821073),
                  (0.26862954, 0.26130258, 0.27577711),
              ),
          ]
      )
  
imports: from collections import OrderedDict
  from typing import Tuple, Union
  import numpy
  import paddle
  from paddle.nn.initializer import Constant
  from paddle.vision.transforms import Compose, Resize, CenterCrop, ToTensor, Normalize
label_desc: Use image node_id 5 for calling a global function with example usage: _transform(n_px) and returns: Compose