pub fn f_flatten_tensors<I>(tensors: I) -> Result<Tensor, TchError> where
    I: IntoIterator,
    I::Item: Borrow<Tensor>, 
Expand description

Flatten a set of tensors into a single vector.

Errors

Returns any error raised tch or the Torch C++ api. These are generally related to incorrect Tensor shapes or types.