| 53 | |
| 54 | template<typename... Args> |
| 55 | size_t getNdarrayByteSize(const pybind11::ndarray<Args...>& array) |
| 56 | { |
| 57 | return getNdarraySize(array) * getDtypeByteSize(array.dtype()); |
| 58 | } |
| 59 | |
| 60 | template<typename... Args> |
| 61 | size_t isNdarrayContiguous(const pybind11::ndarray<Args...>& array) |
no test coverage detected