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

Method nbytes

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

Total number of bytes

Source from the content-addressed store, hash-verified

929
930 /// Total number of bytes
931 ssize_t nbytes() const { return size() * itemsize(); }
932
933 /// Number of dimensions
934 ssize_t ndim() const { return detail::array_proxy(m_ptr)->nd; }

Callers

nothing calls this directly

Calls 2

sizeFunction · 0.85
itemsizeFunction · 0.85

Tested by

no test coverage detected