code: def load_transforms(opts):
      """Load dumped `transforms` object."""
      transforms_path = "{}.transforms.pt".format(opts.save_data)
      transforms = torch.load(transforms_path)
      logger.info("Transforms loaded.")
      return transforms
  
imports: import torch
  from onmt.utils.logging import logger
  from onmt.utils.misc import check_path
label_desc: Use image node_id 4 for calling a global function with example usage: load_transforms(opts) and returns: transforms