Home
last modified time | relevance | path

Searched refs:numpy_internals (Results 1 – 1 of 1) sorted by relevance

/external/python/pybind11/include/pybind11/
Dnumpy.h90 struct numpy_internals { struct
107 inline PYBIND11_NOINLINE void load_numpy_internals(numpy_internals* &ptr) { in load_numpy_internals() argument
108 ptr = &get_or_create_shared_data<numpy_internals>("_numpy_internals"); in load_numpy_internals()
111 inline numpy_internals& get_numpy_internals() { in get_numpy_internals()
112 static numpy_internals* ptr = nullptr; in get_numpy_internals()
1101 auto& numpy_internals = get_numpy_internals();
1102 if (numpy_internals.get_type_info(tinfo, false))
1155 numpy_internals.registered_dtypes[tindex] = { dtype_ptr, format_str };