MCPcopy Create free account
hub / github.com/catboost/catboost / mutable_data

Method mutable_data

contrib/libs/pybind11/include/pybind11/numpy.h:993–996  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

991 /// May throw if the array is not writeable.
992 template <typename... Ix>
993 void *mutable_data(Ix... index) {
994 check_writeable();
995 return static_cast<void *>(detail::array_proxy(m_ptr)->data + offset_at(index...));
996 }
997
998 /// Byte offset from beginning of the array to a given index (full or partial).
999 /// May throw if the index would lead to out of bounds access.

Callers 1

mutable_dataMethod · 0.45

Calls 1

array_proxyFunction · 0.85

Tested by

no test coverage detected