pub fn validate_numpy_array<T: Element>( array: &Bound<'_, PyArrayDyn<T>>, ) -> PyResult<()>
Validate NumPy array meets scirs2 requirements