async function imageTextToTextForward(self, params) {
    return await genericTextToTextForward(self, {
        ...params,
        modality_input_name: 'pixel_values',
        modality_output_name: 'image_features',
        encode_function: self.encode_image.bind(self),
        merge_function: self._merge_input_ids_with_image_features.bind(self),
    });
}
Forward pass of an image-text-to-text model.
@param {Object} self The image-text-to-text model.
@param {Object} params The inputs for the image-text-to-text forward pass.
@returns {Promise<Tensor>} The model's output tensor.
@private