code: def normalize(img, mean, std, data_format="CHW", to_rgb=False):
      if ivy.is_array(img):
          if data_format == "HWC":
              permuted_axes = [2, 0, 1]
          else:
              permuted_axes = [0, 1, 2]
  
          img_np = ivy.permute(img, permuted_axes)
          normalized_img = ivy.divide(ivy.subtract(img_np, mean), std)
          return normalized_img
      else:
          raise ValueError("Unsupported input format")
  
file_path: ivy/ivy/functional/frontends/paddle/vision/transforms.py
imports: import ivy
  from ivy.func_wrapper import with_supported_dtypes, with_unsupported_device_and_dtypes
  from ..tensor.tensor import Tensor
  from ivy.functional.frontends.paddle.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 9 for calling a global function with example usage: normalize(img, mean, std, data_format, to_rgb) and returns: normalized_img