pub fn translate_2d(t: &Tensor, translation: &[f64]) -> Tensor
Translate the of vectors in 2d pictures.
t: Tensor - The tensor to translate [N, C, H, W] translation: &f64 - The translation factors (lenght == C)
Tensor - The translated tensor [N, C, H, W]