pub fn hsv_from_rgb(rgb: &Tensor) -> Tensor
Expand description
Convert a tensor of RGB values to HSV values.
- rgb: Tensor - The tensor of RGB values [N, 3, H, W] with float values in the range [0, 1]
Tensor - The tensor of HSV values [N, 3, H, W] with float values in the range [0, 360]