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

Method char_

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

Single-character for dtype's type. For example, ``float`` is 'f', ``double`` 'd', ``int`` 'i', and ``long`` 'l'.

Source from the content-addressed store, hash-verified

719 /// Single-character for dtype's type.
720 /// For example, ``float`` is 'f', ``double`` 'd', ``int`` 'i', and ``long`` 'l'.
721 char char_() const {
722 // Note: The signature, `dtype::char_` follows the naming of NumPy's
723 // public Python API (i.e., ``dtype.char``), rather than its internal
724 // C API (``PyArray_Descr::type``).
725 return detail::array_descriptor_proxy(m_ptr)->type;
726 }
727
728 /// type number of dtype.
729 int num() const {

Callers

nothing calls this directly

Calls 1

array_descriptor_proxyFunction · 0.85

Tested by

no test coverage detected