Numel implementation for arrays that want to return numel of the same type.
(x, **kwargs)
| 271 | |
| 272 | |
| 273 | def _numel_arraylike(x, **kwargs): |
| 274 | """Numel implementation for arrays that want to return numel of the same type.""" |
| 275 | return _numel(x, coerce_np_ndarray=False, **kwargs) |
| 276 | |
| 277 | |
| 278 | def _numel(x, coerce_np_ndarray: bool, **kwargs): |