MCPcopy Create free account
hub / github.com/numpy/numpy / array_flatten

Function array_flatten

numpy/core/src/multiarray/methods.c:2640–2653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2638
2639
2640static PyObject *
2641array_flatten(PyArrayObject *self,
2642 PyObject *const *args, Py_ssize_t len_args, PyObject *kwnames)
2643{
2644 NPY_ORDER order = NPY_CORDER;
2645 NPY_PREPARE_ARGPARSER;
2646
2647 if (npy_parse_arguments("flatten", args, len_args, kwnames,
2648 "|order", PyArray_OrderConverter, &order,
2649 NULL, NULL, NULL) < 0) {
2650 return NULL;
2651 }
2652 return PyArray_Flatten(self, order);
2653}
2654
2655
2656static PyObject *

Callers

nothing calls this directly

Calls 1

PyArray_FlattenFunction · 0.85

Tested by

no test coverage detected