Numel implementation for arrays that want to return numel of type ndarray.
(x, **kwargs)
| 266 | |
| 267 | @numel_lookup.register((object, np.ndarray)) |
| 268 | def _numel_ndarray(x, **kwargs): |
| 269 | """Numel implementation for arrays that want to return numel of type ndarray.""" |
| 270 | return _numel(x, coerce_np_ndarray=True, **kwargs) |
| 271 | |
| 272 | |
| 273 | def _numel_arraylike(x, **kwargs): |