class_docstr: Convert an image from RGB to YUV.
  
  The image data is assumed to be in the range of (0, 1).
  
  Returns:
      YUV version of the image.
  
  Shape:
      - image: :math:`(*, 3, H, W)`
      - output: :math:`(*, 3, H, W)`
  
  Examples:
      >>> input = torch.rand(2, 3, 4, 5)
      >>> yuv = RgbToYuv()
      >>> output = yuv(input)  # 2x3x4x5
  
  Reference::
      [1] https://es.wikipedia.org/wiki/YUV#RGB_a_Y'UV
class_docstr_tok: ["Convert","an","image","from","RGB","to","YUV",".","The","image","data","is","assumed","to","be","in","the","range","of","(","0",",","1",")",".","Returns",":","YUV","version","of","the","image",".","Shape",":","-","image",":",":","math",":","`","(","*",",","3",",","H",",","W",")","`","-","output",":",":","math",":","`","(","*",",","3",",","H",",","W",")","`","Examples",":",">",">",">","input","=","torch.rand","(","2",",","3",",","4",",","5",")",">",">",">","yuv","=","RgbToYuv","(",")",">",">",">","output","=","yuv","(","input",")","#","2x3x4x5","Reference",":",":","[","1","]","https",":","\/\/es.wikipedia.org\/wiki\/YUV","#","RGB_a_Y'UV"]
code: def forward(self, input: torch.Tensor) -> torch.Tensor:
      return rgb_to_yuv(input)
  
imports: from typing import Tuple
  import torch
  from torch import nn
label_desc: Use image node_id 1 for calling the RgbToYuv obj's underlying member method code with example usage: obj.forward(input) and returns: rgb_to_yuv