class_docstr: Convert an image from RGBA to RGB.
  
  Remove an alpha channel from RGB image.
  
  Returns:
      RGB version of the image.
  
  Shape:
      - image: :math:`(*, 4, H, W)`
      - output: :math:`(*, 3, H, W)`
  
  Example:
      >>> input = torch.rand(2, 4, 4, 5)
      >>> rgba = RgbaToRgb()
      >>> output = rgba(input)  # 2x3x4x5
code: def forward(self, image: torch.Tensor) -> torch.Tensor:
      return rgba_to_rgb(image)
  
imports: from typing import Union, cast
  import torch
  from torch import nn
label_desc: Use image node_id 1 for calling the RgbaToRgb obj's underlying member method code with example usage: obj.forward(image) and returns: rgba_to_rgb