class_docstr: An `Image2ImageModule` takes a batch of images as a tensor with the dimensions
  `(batch_size, color_channels, height, width)`, and returns a tensor in the same format,
  after applying some transformation on the images.
class_docstr_tok: ["An","`","Image2ImageModule","`","takes","a","batch","of","images","as","a","tensor","with","the","dimensions","`","(","batch_size",",","color_channels",",","height",",","width",")","`",",","and","returns","a","tensor","in","the","same","format",",","after","applying","some","transformation","on","the","images","."]
code: def forward(self, images: FloatTensor, sizes: IntTensor):
      raise NotImplementedError()
  
file_path: allennlp/allennlp/modules/vision/image2image.py
imports: import torch
  from torch import nn, FloatTensor, IntTensor
  from typing import List
  from allennlp.common.registrable import Registrable
label_desc: Use image node_id 1 for calling the Image2ImageModule obj's underlying member method code with example usage: obj.forward(images, sizes) without return types