code: def channels_last(images: np.ndarray) -> np.ndarray:
      """Converts images from channels first to channels last format."""
      return images.transpose((0, 2, 3, 1))
  
imports: import numpy
  import torch
  from torch.utils.data import Dataset
  from torchvision import datasets, transforms
  from typing import List, Union
  from pathlib import Path
  from PIL import Image
label_desc: Use image node_id 2 for calling a global function with example usage: channels_last(images) and returns: images