code: def obtain_image_pyramid(self, image):
      assert (
          TORCHVISION_AVAILABLE
      ), "Torchvision imports failed but they are required."
      # Downsampling
      data_dict = dict()
      for res in self.resolutions:
          image_downsampled = torchvision_F.resize(
              image,
              res,
              interpolation=torchvision_F.InterpolationMode.BICUBIC,
              antialias=True,
          )
          data_dict[f"images_{res}"] = image_downsampled
      return data_dict
  
label_desc: Use image node_id 2 for calling the ImagePyramidNoCorruptions obj's underlying member method code with example usage: obj.obtain_image_pyramid(image) and returns: data_dict