Numel implementation for arrays that want to return numel of type ndarray.
(x, **kwargs)
| 267 | |
| 268 | @numel_lookup.register((object, np.ndarray)) |
| 269 | def _numel_ndarray(x, **kwargs): |
| 270 | """Numel implementation for arrays that want to return numel of type ndarray.""" |
| 271 | return _numel(x, coerce_np_ndarray=True, **kwargs) |
| 272 | |
| 273 | |
| 274 | def _numel_arraylike(x, **kwargs): |
nothing calls this directly
no test coverage detected
searching dependent graphs…