Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/numpy/numpy
/ array_shape_get
Function
array_shape_get
numpy/core/src/multiarray/getset.c:40–44 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
38
}
39
40
static PyObject *
41
array_shape_get(PyArrayObject *self, void *NPY_UNUSED(ignored))
42
{
43
return PyArray_IntTupleFromIntp(PyArray_NDIM(self), PyArray_DIMS(self));
44
}
45
46
47
static int
Callers
1
array_interface_get
Function · 0.85
Calls
3
PyArray_IntTupleFromIntp
Function · 0.85
PyArray_NDIM
Function · 0.85
PyArray_DIMS
Function · 0.85
Tested by
no test coverage detected