MCPcopy 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
40static PyObject *
41array_shape_get(PyArrayObject *self, void *NPY_UNUSED(ignored))
42{
43 return PyArray_IntTupleFromIntp(PyArray_NDIM(self), PyArray_DIMS(self));
44}
45
46
47static int

Callers 1

array_interface_getFunction · 0.85

Calls 3

PyArray_IntTupleFromIntpFunction · 0.85
PyArray_NDIMFunction · 0.85
PyArray_DIMSFunction · 0.85

Tested by

no test coverage detected