class_docstr: Convert an image from RGB to XYZ.
  
  The image data is assumed to be in the range of (0, 1).
  
  Returns:
      XYZ version of the image.
  
  Shape:
      - image: :math:`(*, 3, H, W)`
      - output: :math:`(*, 3, H, W)`
  
  Examples:
      >>> input = torch.rand(2, 3, 4, 5)
      >>> xyz = RgbToXyz()
      >>> output = xyz(input)  # 2x3x4x5
  
  Reference:
      [1] https://docs.opencv.org/4.0.1/de/d25/imgproc_color_conversions.html
code: def forward(self, image: torch.Tensor) -> torch.Tensor:
      return rgb_to_xyz(image)
  
file_path: kornia/kornia/color/xyz.py
imports: import torch
  from torch import nn
label_desc: Use image node_id 1 for calling the RgbToXyz obj's underlying member method code with example usage: obj.forward(image) and returns: rgb_to_xyz