pub fn rotate_2d(t: &Tensor, angle: f64) -> Tensor
Rotate the of vectors in 2d pictures.
t: Tensor - The tensor to rotate [N, 2, H, W] angle: f64 - The angle of rotation in radians
Tensor - The rotated tensor [N, 2, H, W]