MCPcopy Create free account
hub / github.com/pybind/pybind11 / dtype

Method dtype

include/pybind11/numpy.h:1126–1128  ·  view source on GitHub ↗

Array descriptor (dtype)

Source from the content-addressed store, hash-verified

1124
1125 /// Array descriptor (dtype)
1126 pybind11::dtype dtype() const {
1127 return reinterpret_borrow<pybind11::dtype>(detail::array_proxy(m_ptr)->descr);
1128 }
1129
1130 /// Total number of elements
1131 ssize_t size() const {

Callers

nothing calls this directly

Calls 1

array_proxyFunction · 0.85

Tested by

no test coverage detected