Searched refs:npy_api (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Dnumpy.h124 struct npy_api { struct
166 static npy_api& get() {
167 static npy_api api = lookup();
219 static npy_api lookup() {
227 npy_api api;
446 PYBIND11_OBJECT_DEFAULT(dtype, object, detail::npy_api::get().PyArrayDescr_Check_);
472 if (!detail::npy_api::get().PyArray_DescrConverter_(args.ptr(), &ptr) || !ptr)
540 PYBIND11_OBJECT_CVT(array, buffer, detail::npy_api::get().PyArray_Check_, raw_array)
543 c_style = detail::npy_api::NPY_ARRAY_C_CONTIGUOUS_,
544 f_style = detail::npy_api
[all...]
H A Deigen.h223 array_proxy(a.ptr())->flags &= ~detail::npy_api::NPY_ARRAY_WRITEABLE_;
281 int result = detail::npy_api::get().PyArray_CopyInto_(ref.ptr(), buf.ptr());

Completed in 10 milliseconds