MCPcopy Create free account
hub / github.com/davisking/dlib / alignment

Method alignment

dlib/external/pybind11/include/pybind11/numpy.h:741–741  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

739/// Alignment of the data type
740#ifdef PYBIND11_NUMPY_1_ONLY
741 int alignment() const { return detail::array_descriptor_proxy(m_ptr)->alignment; }
742#else
743 ssize_t alignment() const {
744 if (detail::npy_api::get().PyArray_RUNTIME_VERSION_ < 0x12) {

Callers

nothing calls this directly

Calls 3

array_descriptor_proxyFunction · 0.85
array_descriptor1_proxyFunction · 0.85
array_descriptor2_proxyFunction · 0.85

Tested by

no test coverage detected