pub fn generate_vector_of_mat(
    len: size_t,
    rows: i32,
    cols: i32,
    dtype: i32,
    vec: &mut Vector<Mat>
) -> Result<()>