pub fn cat_tensors(tensors: &[Tensor], dim: i64) -> Result<Tensor, Error>
Helper for concatenating tensors