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

Method ndim

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

Number of dimensions

Source from the content-addressed store, hash-verified

1140
1141 /// Number of dimensions
1142 ssize_t ndim() const { return detail::array_proxy(m_ptr)->nd; }
1143
1144 /// Base object
1145 object base() const { return reinterpret_borrow<object>(detail::array_proxy(m_ptr)->base); }

Callers 11

py_sub_imageFunction · 0.45
numpy_to_dlib_vectFunction · 0.45
is_vectorFunction · 0.45
np_to_cppFunction · 0.45
is_imageFunction · 0.45
width_stepFunction · 0.45
conformableMethod · 0.45
loadMethod · 0.45
loadFunction · 0.45
loadMethod · 0.45

Calls 1

array_proxyFunction · 0.85

Tested by

no test coverage detected