Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ _expand_dims_dispatcher
Function
_expand_dims_dispatcher
numpy/lib/shape_base.py:508–509 ·
view source on GitHub ↗
(a, axis)
Source
from the content-addressed store, hash-verified
506
507
508
def
_expand_dims_dispatcher(a, axis):
509
return
(a,)
510
511
512
@array_function_dispatch(_expand_dims_dispatcher)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected