arrayfire
pub fn flat<T>(input: &Array<T>) -> Array<T> where T: HasAfEnum,
Flatten the multidimensional Array to an 1D Array